Skip to content

Commit

Permalink
replace php > 5.4 code
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic34 committed Nov 15, 2018
1 parent 92cda2a commit caa080f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -278,7 +278,7 @@ protected function messageStreamToSignedByteStream(Swift_FileStream $outputStrea
$args[] = $this->extraCerts;
}

if (!openssl_pkcs7_sign(...$args)) {
if (!call_user_func_array('openssl_pkcs7_sign', $args)) {
throw new Swift_IoException(sprintf('Failed to sign S/Mime message. Error: "%s".', openssl_error_string()));
}

Expand Down

1 comment on commit caa080f

@homer8173
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I gonna test your release, great job

Please sign in to comment.