Searched refs:cnmatch (Results 1 – 1 of 1) sorted by relevance
/PHP-5.5/ext/openssl/ |
H A D | openssl.c | 4576 char *cnmatch = NULL; in php_openssl_apply_verification_policy() local 4612 GET_VER_OPT_STRING("CN_match", cnmatch); in php_openssl_apply_verification_policy() 4613 if (cnmatch) { in php_openssl_apply_verification_policy() 4625 match = strcasecmp(cnmatch, buf) == 0; in php_openssl_apply_verification_policy() 4630 char *tmp = strstr(cnmatch, buf+1); in php_openssl_apply_verification_policy() 4632 match = tmp && strcasecmp(tmp, buf+2) && tmp == strchr(cnmatch, '.'); in php_openssl_apply_verification_policy() 4638 …C, E_WARNING, "Peer certificate CN=`%.*s' did not match expected CN=`%s'", name_len, buf, cnmatch); in php_openssl_apply_verification_policy()
|
Completed in 20 milliseconds