From: foobar Date: Thu, 13 Jun 2002 19:41:25 +0000 (+0000) Subject: Fixed bug: #17751 (typo) X-Git-Tag: php5_5_0~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce379abfbdd3aae61ad8b2ff9f5e5ee9992158bc;p=php Fixed bug: #17751 (typo) --- 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; }