diff options
-rw-r--r-- | ext/openssl/openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index 5dd08c3e9c..58db6c53b8 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -1905,7 +1905,7 @@ static EVP_PKEY * php_openssl_evp_from_zval(zval ** val, int public_key, char * php_error_docref(NULL TSRMLS_CC, E_WARNING, "key array must be of the form array(0 => key, 1 => phrase)"); return NULL; } - //convert_to_string_ex(zphrase); + if (Z_TYPE_PP(zphrase) == IS_STRING) { passphrase = Z_STRVAL_PP(zphrase); } else { |