Home
last modified time | relevance | path

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

/PHP-7.3/ext/openssl/tests/
H A Dsan_peer_matching.phpt14 'local_cert' => __DIR__ . '/san-cert.pem',
29 'cafile' => __DIR__ . '/san-ca.pem',
H A Dopenssl_x509_checkpurpose_basic.phpt13 $sert = "file://" . dirname(__FILE__) . "/san-cert.pem";
14 $cpca = dirname(__FILE__) . "/san-ca.pem";
H A Dbug68920.phpt14 'local_cert' => __DIR__ . '/san-cert.pem',
/PHP-7.3/ext/openssl/
H A Dxp_ssl.c415 GENERAL_NAME *san = sk_GENERAL_NAME_value(alt_names, i); in php_openssl_matches_san_list() local
417 if (san->type == GEN_DNS) { in php_openssl_matches_san_list()
418 ASN1_STRING_to_UTF8(&cert_name, san->d.dNSName); in php_openssl_matches_san_list()
419 if ((size_t)ASN1_STRING_length(san->d.dNSName) != strlen((const char*)cert_name)) { in php_openssl_matches_san_list()
438 } else if (san->type == GEN_IPADD) { in php_openssl_matches_san_list()
439 if (san->d.iPAddress->length == 4) { in php_openssl_matches_san_list()
441 san->d.iPAddress->data[0], in php_openssl_matches_san_list()
442 san->d.iPAddress->data[1], in php_openssl_matches_san_list()
443 san->d.iPAddress->data[2], in php_openssl_matches_san_list()
444 san->d.iPAddress->data[3] in php_openssl_matches_san_list()

Completed in 13 milliseconds