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.
2 parents 56bd057 + ef1e186 commit cc54e66Copy full SHA for cc54e66
ext/openssl/openssl.c
@@ -3693,7 +3693,7 @@ static EVP_PKEY *php_openssl_pkey_from_zval(
3693
/* it's an X509 file/cert of some kind, and we need to extract the data from that */
3694
if (public_key) {
3695
php_openssl_errors_set_mark();
3696
- 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);
3697
3698
if (cert) {
3699
free_cert = 1;
0 commit comments