]> 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:04:01 +0000 (18:04 +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 185396ca7b380984befaaa42d0d8bcf4acd220ad..6184f7143fef281ce5f267c58b70100e5b5a54e7 100644 (file)
@@ -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;
         }