Home
last modified time | relevance | path

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

/PHP-8.1/ext/openssl/
H A Dxp_ssl.c403 static bool php_openssl_matches_wildcard_name(const char *subjectname, const char *certname) /* {{{… in php_openssl_matches_wildcard_name() argument
409 if (strcasecmp(subjectname, certname) == 0) { in php_openssl_matches_wildcard_name()
414 if (!(wildcard = strchr(certname, '*')) || memchr(certname, '.', wildcard - certname)) { in php_openssl_matches_wildcard_name()
419 prefix_len = wildcard - certname; in php_openssl_matches_wildcard_name()
420 if (prefix_len && strncasecmp(subjectname, certname, prefix_len) != 0) { in php_openssl_matches_wildcard_name()

Completed in 18 milliseconds