Skip to content

Commit 80dd5a0

Browse files
committed
Fix wrong merge
1 parent 591fe92 commit 80dd5a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/openssl/openssl.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3635,7 +3635,7 @@ static EVP_PKEY *php_openssl_pkey_from_zval(
36353635
/* it's an X509 file/cert of some kind, and we need to extract the data from that */
36363636
if (public_key) {
36373637
php_openssl_errors_set_mark();
3638-
cert = php_openssl_x509_from_str(Z_STR_P(val), arg_num, false, NULL);
3638+
cert = php_openssl_x509_from_str(val_str, arg_num, false, NULL);
36393639

36403640
if (cert) {
36413641
free_cert = 1;

0 commit comments

Comments
 (0)