]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix SMIME_crlf_copy() to properly report an error
authorMatt Caswell <matt@openssl.org>
Tue, 6 Dec 2022 14:21:23 +0000 (14:21 +0000)
committerTomas Mraz <tomas@openssl.org>
Thu, 22 Dec 2022 10:07:07 +0000 (11:07 +0100)
commit1354191dac44f9ac04c38fd9fb56287f00039b82
treecf304d73c2bc5fb4c72f00a41d66d1f4ccd7a7ac
parent6446cb444c2a4fd8a12ccafe9329b1b1b268460d
Fix SMIME_crlf_copy() to properly report an error

If the BIO unexpectedly fails to flush then SMIME_crlf_copy() was not
correctly reporting the error. We modify it to properly propagate the
error condition.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19920)
crypto/asn1/asn_mime.c