pki: Created pki --est man page
This commit is contained in:
@@ -36,6 +36,14 @@ bool match(const char *pattern, const chunk_t *ch)
|
||||
return ch->len == strlen(pattern) && strncmp(pattern, ch->ptr, ch->len) == 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* compare string with chunk ignoring the case of the characters
|
||||
*/
|
||||
bool matchcase(const char *pattern, const chunk_t *ch)
|
||||
{
|
||||
return ch->len == strlen(pattern) && strncasecmp(pattern, ch->ptr, ch->len) == 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* extracts a token ending with the first occurrence of a given termination symbol
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user