From: Nikita Popov Date: Wed, 14 Oct 2020 09:31:58 +0000 (+0200) Subject: Fix nullability of openssl_cms_sign() parameter X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=251af7329f38f8a78340d6150a3bf584ff8c6b88;p=php Fix nullability of openssl_cms_sign() parameter --- diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index efb0d9c626..b6556c23b5 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -5907,7 +5907,7 @@ PHP_FUNCTION(openssl_cms_sign) Z_PARAM_OPTIONAL Z_PARAM_LONG(flags) Z_PARAM_LONG(encoding) - Z_PARAM_PATH(extracertsfilename, extracertsfilename_len) + Z_PARAM_PATH_OR_NULL(extracertsfilename, extracertsfilename_len) ZEND_PARSE_PARAMETERS_END(); RETVAL_FALSE;