Home
last modified time | relevance | path

Searched refs:certname (Results 1 – 1 of 1) sorted by relevance

/php-src/ext/openssl/
H A Dxp_ssl.c418 static bool php_openssl_matches_wildcard_name(const char *subjectname, const char *certname) /* {{{… in php_openssl_matches_wildcard_name() argument
424 if (strcasecmp(subjectname, certname) == 0) { in php_openssl_matches_wildcard_name()
429 if (!(wildcard = strchr(certname, '*')) || memchr(certname, '.', wildcard - certname)) { in php_openssl_matches_wildcard_name()
434 prefix_len = wildcard - certname; in php_openssl_matches_wildcard_name()
435 if (prefix_len && strncasecmp(subjectname, certname, prefix_len) != 0) { in php_openssl_matches_wildcard_name()

Completed in 16 milliseconds