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.2.6~68 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5b043cb65f8ab444eff6dafca0979046cd043953;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 2b8eea16c99..6d2fe893816 100644 --- a/apps/cms.c +++ b/apps/cms.c @@ -1279,6 +1279,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; }