Skip to content
Unverified Commit 6ec03181 authored by Alon Bar-Lev's avatar Alon Bar-Lev Committed by Hugo Landau
Browse files

REGRESSION: CMS_final: do not ignore CMS_dataFinal result



The CMS_dataFinal result is important as signature may fail, however, it
is ignored while returning success from CMS_final.

The SMIME_crlf_copy result is returned while it is ignored in the rest
of the openssl code.

Prefer the CMS_dataFinal result.

This is regression from openssl-1.

Blame finds c1669f41ei as root cause of regression.

Signed-off-by: default avatarAlon Bar-Lev <alon.barlev@gmail.com>

Reviewed-by: default avatarTomas Mraz <tomas@openssl.org>
Reviewed-by: default avatarPaul Dale <pauli@openssl.org>
Reviewed-by: default avatarHugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18876)

(cherry picked from commit b0375613)
parent 68061255
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment