diff options
author | foobar <sniper@php.net> | 2002-06-13 19:41:25 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2002-06-13 19:41:25 +0000 |
commit | ce379abfbdd3aae61ad8b2ff9f5e5ee9992158bc (patch) | |
tree | 840537a34d3cf29682866aabbc7ccf3be329aa7a | |
parent | 2eb859842b1a3931b0930c013ccce2baa6a77921 (diff) | |
download | php-git-ce379abfbdd3aae61ad8b2ff9f5e5ee9992158bc.tar.gz |
Fixed bug: #17751 (typo)
-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 f12329975a..61565f60c7 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -1416,7 +1416,7 @@ PHP_FUNCTION(openssl_csr_sign) zend_error(E_WARNING, "cannot get private key from parameter 3"); goto cleanup; } - if (cert && !X509_check_private_key(cert, key)) { + if (cert && !X509_check_private_key(cert, priv_key)) { zend_error(E_WARNING, "private key does not correspond to signing cert"); goto cleanup; } |