1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 06:51:18 +02:00

Fixed bug #69197 (openssl_pkcs7_sign handles default value incorrectly)

This commit is contained in:
Daniel Lowrey
2015-03-06 11:29:56 -07:00
parent 469b5a9584
commit 0928bad9ac
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@@ -5,6 +5,8 @@
- OpenSSL
. Fixed bugs #68853, #65137 (Buffered crypto stream data breaks IO polling
in stream_select() contexts) (Chris Wright)
. Fixed bug #69197 (openssl_pkcs7_sign handles default value incorrectly)
(Daniel Lowrey)
- Core:
. Fixed bug #68917 (parse_url fails on some partial urls). (Wei Dai)

View File

@@ -4279,7 +4279,7 @@ PHP_FUNCTION(openssl_pkcs7_sign)
char * outfilename; int outfilename_len;
char * extracertsfilename = NULL; int extracertsfilename_len;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ppZZa!|lp",
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ppZZa!|lp!",
&infilename, &infilename_len, &outfilename, &outfilename_len,
&zcert, &zprivkey, &zheaders, &flags, &extracertsfilename,
&extracertsfilename_len) == FAILURE) {