Home
last modified time | relevance | path

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

/curl/lib/vtls/
H A Dopenssl.c2236 unsigned char *cn = NULL; in ossl_verifyhost() local
2263 cn = (unsigned char *) ASN1_STRING_get0_data(tmp); in ossl_verifyhost()
2266 cnlen = ASN1_STRING_to_UTF8(&cn, tmp); in ossl_verifyhost()
2270 if((cnlen <= 0) || !cn) in ossl_verifyhost()
2272 else if((size_t)cnlen != strlen((char *)cn)) { in ossl_verifyhost()
2284 else if(!cn) { in ossl_verifyhost()
2289 else if(!Curl_cert_hostcheck((const char *)cn, cnlen, in ossl_verifyhost()
2292 "target hostname '%s'", cn, peer->dispname); in ossl_verifyhost()
2296 infof(data, " common name: %s (matched)", cn); in ossl_verifyhost()
2299 OPENSSL_free(cn); in ossl_verifyhost()

Completed in 28 milliseconds