We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 591fe92 commit 80dd5a0Copy full SHA for 80dd5a0
ext/openssl/openssl.c
@@ -3635,7 +3635,7 @@ static EVP_PKEY *php_openssl_pkey_from_zval(
3635
/* it's an X509 file/cert of some kind, and we need to extract the data from that */
3636
if (public_key) {
3637
php_openssl_errors_set_mark();
3638
- cert = php_openssl_x509_from_str(Z_STR_P(val), arg_num, false, NULL);
+ cert = php_openssl_x509_from_str(val_str, arg_num, false, NULL);
3639
3640
if (cert) {
3641
free_cert = 1;
0 commit comments