From: Dr. David von Oheimb Date: Mon, 14 Apr 2025 18:08:54 +0000 (+0200) Subject: apps/cms.c: add missing error message on error writing CMS output (ret == 6) X-Git-Tag: openssl-3.4.3~72 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c69d9002243b0c570ae9c177dcb5d4671afdf8e1;p=thirdparty%2Fopenssl.git apps/cms.c: add missing error message on error writing CMS output (ret == 6) Reviewed-by: Dmitry Belyavskiy Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/27567) (cherry picked from commit 3c7812decde2368168c6cba557ec8c03f973c892) --- diff --git a/apps/cms.c b/apps/cms.c index 0b0bc949c98..a7d0672227d 100644 --- a/apps/cms.c +++ b/apps/cms.c @@ -1282,6 +1282,7 @@ int cms_main(int argc, char **argv) goto end; } if (ret <= 0) { + BIO_printf(bio_err, "Error writing CMS output\n"); ret = 6; goto end; }