]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
apps/cms.c: add missing error message on error writing CMS output (ret == 6)
authorDr. David von Oheimb <dev@ddvo.net>
Mon, 14 Apr 2025 18:08:54 +0000 (20:08 +0200)
committerTomas Mraz <tomas@openssl.org>
Mon, 18 Aug 2025 16:03:24 +0000 (18:03 +0200)
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27567)

(cherry picked from commit 3c7812decde2368168c6cba557ec8c03f973c892)

apps/cms.c

index 0b0bc949c98d0a4d3d9df50bb79ffe5201726913..a7d0672227d4bf99aa133e4eb987a676a6221117 100644 (file)
@@ -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;
         }