]> granicus.if.org Git - php/commitdiff
Fixed bug: #17751 (typo)
authorfoobar <sniper@php.net>
Thu, 13 Jun 2002 19:41:25 +0000 (19:41 +0000)
committerfoobar <sniper@php.net>
Thu, 13 Jun 2002 19:41:25 +0000 (19:41 +0000)
ext/openssl/openssl.c

index f12329975afdee0d99ca130f3b0aca138ec1d3d4..61565f60c744ac320942fca0b203228f9b74cb7a 100644 (file)
@@ -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;
        }