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.0.18~56 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=04674ce8c4be6a1a7a10a9cf9ffbca3752146133;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 185396ca7b3..6184f7143fe 100644 --- a/apps/cms.c +++ b/apps/cms.c @@ -1246,6 +1246,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; }