[openssl] master update

Dr. Paul Dale pauli at openssl.org
Tue Sep 3 08:06:51 UTC 2019


The branch master has been updated
       via  7964e3709af59675795ab1f4f69a935980379a66 (commit)
      from  363e941ed43c648adf4d6d0874077ddd80041e1f (commit)


- Log -----------------------------------------------------------------
commit 7964e3709af59675795ab1f4f69a935980379a66
Author: Pauli <paul.dale at oracle.com>
Date:   Mon Sep 2 09:12:53 2019 +1000

    Fix Coverity 1453452: Control flow issues (DEADCODE)
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/9749)

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

Summary of changes:
 apps/provider.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/apps/provider.c b/apps/provider.c
index 932bc40931..fe5ca1d1f7 100644
--- a/apps/provider.c
+++ b/apps/provider.c
@@ -165,8 +165,7 @@ int provider_main(int argc, char **argv)
     prog = opt_init(argc, argv, provider_options);
     while ((o = opt_next()) != OPT_EOF) {
         switch (o) {
-        case OPT_EOF:
-        case OPT_ERR:
+        default: /* Catching OPT_ERR & covering OPT_EOF which isn't possible */
             BIO_printf(bio_err, "%s: Use -help for summary.\n", prog);
             goto end;
         case OPT_HELP:


More information about the openssl-commits mailing list