cvs: php4 /ext/openssl openssl.c
| From: | Jani Taskinen | Date: | Thu, 13 Jun 2002 19:41:22 +0000 |
| Subject: | cvs: php4 /ext/openssl openssl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12349@lists.php.net to get a copy of this message | ||
sniper Thu Jun 13 15:41:22 2002 EDT
Modified files:
/php4/ext/openssl openssl.c
Log:
Fixed bug: #17751 (typo)
Index: php4/ext/openssl/openssl.c
diff -u php4/ext/openssl/openssl.c:1.48 php4/ext/openssl/openssl.c:1.49
--- php4/ext/openssl/openssl.c:1.48 Fri May 17 08:42:39 2002
+++ php4/ext/openssl/openssl.c Thu Jun 13 15:41:21 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: openssl.c,v 1.48 2002/05/17 12:42:39 wez Exp $ */
+/* $Id: openssl.c,v 1.49 2002/06/13 19:41:21 sniper Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -1416,7 +1416,7 @@
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;
}