]> 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)
committerDr. David von Oheimb <dev@ddvo.net>
Wed, 14 May 2025 06:43:20 +0000 (08:43 +0200)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/27368)

apps/cms.c

index 919d306ff687f1a0943f2c6eba7dbdad93bb400e..6f19414880c905daa7d7647551504b2ccca02749 100644 (file)
@@ -1280,6 +1280,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;
         }