X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/d889e47a639472f1d5ad92231b90735bc8e42d37..3c51463e961cb96df8f624420f833c65505bb451:/src/src/pdkim/pdkim.c diff --git a/src/src/pdkim/pdkim.c b/src/src/pdkim/pdkim.c index 3840c0514..a47b6940f 100644 --- a/src/src/pdkim/pdkim.c +++ b/src/src/pdkim/pdkim.c @@ -1067,7 +1067,7 @@ for (sig = ctx->sig; sig; sig = sig->next) if (ctx->mode == PDKIM_MODE_SIGN) { sig->bodyhash_len = sig->algo == PDKIM_ALGO_RSA_SHA1 ? 20:32; - sig->bodyhash = string_copyn(US bh, sig->bodyhash_len); + sig->bodyhash = CS string_copyn(US bh, sig->bodyhash_len); /* If bodylength limit is set, and we have received less bytes than the requested amount, effectively remove the limit tag. */