cvs: php4 /ext/openssl openssl.c
| From: | Derick Rethans | Date: | Thu, 31 Jan 2002 09:57:27 +0000 |
| Subject: | cvs: php4 /ext/openssl openssl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9221@lists.php.net to get a copy of this message | ||
derick Thu Jan 31 04:57:27 2002 EDT
Modified files:
/php4/ext/openssl openssl.c
Log:
- Fix for openssl_pkcs7_sign segfaults
(patch by Christian Stocker <chregu@php.net>)
Index: php4/ext/openssl/openssl.c
diff -u php4/ext/openssl/openssl.c:1.39 php4/ext/openssl/openssl.c:1.40
--- php4/ext/openssl/openssl.c:1.39 Tue Dec 11 10:30:00 2001
+++ php4/ext/openssl/openssl.c Thu Jan 31 04:57:27 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: openssl.c,v 1.39 2001/12/11 15:30:00 sebastian Exp $ */
+/* $Id: openssl.c,v 1.40 2002/01/31 09:57:27 derick Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -2151,7 +2151,7 @@
char * extracertsfilename = NULL; long extracertsfilename_len;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sszza!|ls",
- &infilename, &infilename_len, *outfilename, &outfilename_len,
+ &infilename, &infilename_len, &outfilename, &outfilename_len,
&zcert, &zprivkey, &zheaders, &flags, &extracertsfilename,
&extracertsfilename_len) == FAILURE)
return;