Home
last modified time | relevance | path

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

/external/curl/lib/vtls/
Daxtls.c290 const char *peer_CN; in connect_finish() local
357 peer_CN = ssl_get_cert_dn(ssl, SSL_X509_CERT_COMMON_NAME); in connect_finish()
358 if(peer_CN == NULL) { in connect_finish()
368 if(!Curl_cert_hostcheck((const char *)peer_CN, hostname)) { in connect_finish()
373 peer_CN, dispname); in connect_finish()
378 peer_CN, dispname); in connect_finish()
Dopenssl.c1203 unsigned char *peer_CN = nulstr; in verifyhost() local
1227 peer_CN = OPENSSL_malloc(j+1); in verifyhost()
1228 if(peer_CN) { in verifyhost()
1229 memcpy(peer_CN, ASN1_STRING_get0_data(tmp), j); in verifyhost()
1230 peer_CN[j] = '\0'; in verifyhost()
1235 j = ASN1_STRING_to_UTF8(&peer_CN, tmp); in verifyhost()
1237 if(peer_CN && (curlx_uztosi(strlen((char *)peer_CN)) != j)) { in verifyhost()
1246 if(peer_CN == nulstr) in verifyhost()
1247 peer_CN = NULL; in verifyhost()
1250 CURLcode rc = Curl_convert_from_utf8(data, peer_CN, strlen(peer_CN)); in verifyhost()
[all …]