Home
last modified time | relevance | path

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

/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_auth.c759 LPSTR der_buf = NULL; in mysqlnd_sha256_get_rsa_from_pem() local
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()
783 if (der_buf) { in mysqlnd_sha256_get_rsa_from_pem()
784 free_alloca(der_buf, use_heap); in mysqlnd_sha256_get_rsa_from_pem()
/PHP-8.0/ext/openssl/
H A Dxp_ssl.c642 unsigned char *der_buf = NULL; in php_openssl_win_cert_verify_callback() local
645 der_len = i2d_X509(cert, &der_buf); 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()
659 OPENSSL_free(der_buf); in php_openssl_win_cert_verify_callback()

Completed in 25 milliseconds