Home
last modified time | relevance | path

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

/PHP-8.2/ext/mysqlnd/
H A Dmysqlnd_auth.c750 DWORD der_len; in mysqlnd_sha256_get_rsa_from_pem() local
755 if (!CryptStringToBinaryA(buf, len, CRYPT_STRING_BASE64HEADER, NULL, &der_len, NULL, NULL)) { in mysqlnd_sha256_get_rsa_from_pem()
758 der_buf = do_alloca(der_len, use_heap); in mysqlnd_sha256_get_rsa_from_pem()
759 if (!CryptStringToBinaryA(buf, len, CRYPT_STRING_BASE64HEADER, der_buf, &der_len, NULL, NULL)) { in mysqlnd_sha256_get_rsa_from_pem()
762 …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.2/ext/openssl/
H A Dxp_ssl.c696 int der_len; in php_openssl_win_cert_verify_callback() local
698 der_len = i2d_X509(cert, &der_buf); in php_openssl_win_cert_verify_callback()
699 if (der_len < 0) { in php_openssl_win_cert_verify_callback()
711 cert_ctx = CertCreateCertificateContext(X509_ASN_ENCODING, der_buf, der_len); in php_openssl_win_cert_verify_callback()

Completed in 14 milliseconds