Skip to content

Commit

Permalink
security/php70-openssl: fix 10 year old bug, happy belated birthday!
Browse files Browse the repository at this point in the history
Turns out PHP 7.0 actually cares about parsing this correctly.

See: http://mbechler.eenterphace.org/ext-openssl-crl.patch
  • Loading branch information
fichtner committed Feb 6, 2017
1 parent 44c3cfb commit 0eb5e27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions security/php70-openssl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ CATEGORIES= security
MASTERDIR= ${.CURDIR}/../../lang/php70

PKGNAMESUFFIX= -openssl
PORTREVISION= 1

.include "${MASTERDIR}/Makefile"
2 changes: 1 addition & 1 deletion security/php70-openssl/files/patch-openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@
+
+ zval *output;
+
+ if(zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rzz|bbsl",
+ if(zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rz/z|bbsl",
+ &crl_res, &output,
+ &zcapkey,
+ &crlv2, &notext,
Expand Down

0 comments on commit 0eb5e27

Please sign in to comment.