[openssl] OpenSSL_1_1_1-stable update

matthias.st.pierre at ncp-e.com matthias.st.pierre at ncp-e.com
Thu May 2 21:06:58 UTC 2019


The branch OpenSSL_1_1_1-stable has been updated
       via  66790d762562aec139daa5ed321e380c687608e4 (commit)
      from  49142bcb187d4d9fe8b41a813ff63ddf322600a3 (commit)


- Log -----------------------------------------------------------------
commit 66790d762562aec139daa5ed321e380c687608e4
Author: Dr. Matthias St. Pierre <Matthias.St.Pierre at ncp-e.com>
Date:   Thu May 2 14:49:34 2019 +0200

    openssl cms: add error message if operation option is missing
    
    If the `openssl cms` command is called without specifying an
    operation option, it replies with the following laconic error message:
    
        cms: Use -help for summary.
    
    This commit adds a helpful error message:
    
        No operation option (-encrypt|-decrypt|-sign|-verify|...) specified.
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/8861)
    
    (cherry picked from commit 42151b8edb112d23d81f6e0d6606d98797771b4b)

-----------------------------------------------------------------------

Summary of changes:
 apps/cms.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/apps/cms.c b/apps/cms.c
index e9d760c..83cc3e5 100644
--- a/apps/cms.c
+++ b/apps/cms.c
@@ -636,6 +636,7 @@ int cms_main(int argc, char **argv)
             goto opthelp;
         }
     } else if (!operation) {
+        BIO_printf(bio_err, "No operation option (-encrypt|-decrypt|-sign|-verify|...) specified.\n");
         goto opthelp;
     }
 


More information about the openssl-commits mailing list