summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/src/pdkim/signing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/pdkim/signing.c b/src/src/pdkim/signing.c
index 62e32234f..0545e483a 100644
--- a/src/src/pdkim/signing.c
+++ b/src/src/pdkim/signing.c
@@ -754,7 +754,7 @@ if ( (ctx = EVP_MD_CTX_new())
&& (sig->data = store_get(siglen))
/* Obtain the signature (slen could change here!) */
- && EVP_DigestSign(ctx, sig->data, &siglen), data->data, data->len > 0
+ && EVP_DigestSign(ctx, sig->data, &siglen, data->data, data->len) > 0
)
{
EVP_MD_CTX_destroy(ctx);