Searched refs:peer_CN (Results 1 – 1 of 1) sorted by relevance
1690 unsigned char *peer_CN = nulstr; in verifyhost() local1713 peer_CN = OPENSSL_malloc(j + 1); in verifyhost()1714 if(peer_CN) { in verifyhost()1715 memcpy(peer_CN, ASN1_STRING_get0_data(tmp), j); in verifyhost()1716 peer_CN[j] = '\0'; in verifyhost()1721 j = ASN1_STRING_to_UTF8(&peer_CN, tmp); in verifyhost()1723 if(peer_CN && (curlx_uztosi(strlen((char *)peer_CN)) != j)) { in verifyhost()1732 if(peer_CN == nulstr) in verifyhost()1733 peer_CN = NULL; in verifyhost()1736 CURLcode rc = Curl_convert_from_utf8(data, (char *)peer_CN, in verifyhost()[all …]