Searched refs:peer_CN (Results 1 – 1 of 1) sorted by relevance
1617 unsigned char *peer_CN = nulstr; in verifyhost() local1641 peer_CN = OPENSSL_malloc(j + 1); in verifyhost()1642 if(peer_CN) { in verifyhost()1643 memcpy(peer_CN, ASN1_STRING_get0_data(tmp), j); in verifyhost()1644 peer_CN[j] = '\0'; in verifyhost()1649 j = ASN1_STRING_to_UTF8(&peer_CN, tmp); in verifyhost()1651 if(peer_CN && (curlx_uztosi(strlen((char *)peer_CN)) != j)) { in verifyhost()1660 if(peer_CN == nulstr) in verifyhost()1661 peer_CN = NULL; in verifyhost()1664 CURLcode rc = Curl_convert_from_utf8(data, (char *)peer_CN, in verifyhost()[all …]