summaryrefslogtreecommitdiff
path: root/ext/openssl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl')
-rw-r--r--ext/openssl/openssl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c
index c6ee21dd6b..41294f979a 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -2256,6 +2256,7 @@ static EVP_PKEY * php_openssl_evp_from_zval(zval ** val, int public_key, char *
} else {
tmp = **zphrase;
zval_copy_ctor(&tmp);
+ convert_to_string(&tmp);
passphrase = Z_STRVAL(tmp);
}