Home
last modified time | relevance | path

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

/PHP-7.0/ext/openssl/
H A Dxp_ssl.c684 unsigned char *cert_name_utf8; in win_cert_verify_callback() local
697 cert_name_utf8_len = PHP_X509_NAME_ENTRY_TO_UTF8(cert_name, index, cert_name_utf8); in win_cert_verify_callback()
699 num_wchars = MultiByteToWideChar(CP_UTF8, 0, (char*)cert_name_utf8, -1, NULL, 0); in win_cert_verify_callback()
701 …php_error_docref(NULL, E_WARNING, "Unable to convert %s to wide character string", cert_name_utf8); in win_cert_verify_callback()
702 OPENSSL_free(cert_name_utf8); in win_cert_verify_callback()
710 num_wchars = MultiByteToWideChar(CP_UTF8, 0, (char*)cert_name_utf8, -1, server_name, num_wchars); in win_cert_verify_callback()
712 …php_error_docref(NULL, E_WARNING, "Unable to convert %s to wide character string", cert_name_utf8); in win_cert_verify_callback()
714 OPENSSL_free(cert_name_utf8); in win_cert_verify_callback()
720 OPENSSL_free(cert_name_utf8); in win_cert_verify_callback()

Completed in 9 milliseconds