Home
last modified time | relevance | path

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

/PHP-5.3/ext/openssl/
H A Dopenssl.c4439 char *cnmatch = NULL; in php_openssl_apply_verification_policy() local
4475 GET_VER_OPT_STRING("CN_match", cnmatch); in php_openssl_apply_verification_policy()
4476 if (cnmatch) { in php_openssl_apply_verification_policy()
4488 match = strcmp(cnmatch, buf) == 0; in php_openssl_apply_verification_policy()
4493 char *tmp = strstr(cnmatch, buf+1); in php_openssl_apply_verification_policy()
4495 match = tmp && strcmp(tmp, buf+2) && tmp == strchr(cnmatch, '.'); in php_openssl_apply_verification_policy()
4501 …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 16 milliseconds