Home
last modified time | relevance | path

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

/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_auth.c760 DWORD der_len; in mysqlnd_sha256_get_rsa_from_pem() local
765 if (!CryptStringToBinaryA(buf, len, CRYPT_STRING_BASE64HEADER, NULL, &der_len, NULL, NULL)) { in mysqlnd_sha256_get_rsa_from_pem()
768 der_buf = do_alloca(der_len, use_heap); in mysqlnd_sha256_get_rsa_from_pem()
769 if (!CryptStringToBinaryA(buf, len, CRYPT_STRING_BASE64HEADER, der_buf, &der_len, NULL, NULL)) { in mysqlnd_sha256_get_rsa_from_pem()
772 …if (!CryptDecodeObjectEx(X509_ASN_ENCODING, X509_PUBLIC_KEY_INFO, der_buf, der_len, CRYPT_ENCODE_A… in mysqlnd_sha256_get_rsa_from_pem()
/PHP-8.0/ext/openssl/
H A Dxp_ssl.c643 int der_len; in php_openssl_win_cert_verify_callback() local
645 der_len = i2d_X509(cert, &der_buf); in php_openssl_win_cert_verify_callback()
646 if (der_len < 0) { in php_openssl_win_cert_verify_callback()
658 cert_ctx = CertCreateCertificateContext(X509_ASN_ENCODING, der_buf, der_len); in php_openssl_win_cert_verify_callback()

Completed in 16 milliseconds