Add missing break statement
authorMatt Caswell <matt@openssl.org>
Tue, 14 Jun 2016 10:21:44 +0000 (11:21 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 14 Jun 2016 10:21:44 +0000 (11:21 +0100)
The -psk option processing was falling through to the -srp option
processing in the ciphers app.

Reviewed-by: Richard Levitte <levitte@openssl.org>
apps/ciphers.c

index 9e3b633700e336a8b61f68cd79d867e1a947f448..c0f43ea2e8b4b1a9aff68af4cafd07e8f2b2189f 100644 (file)
@@ -139,6 +139,7 @@ int ciphers_main(int argc, char **argv)
 #ifndef OPENSSL_NO_PSK
             psk = 1;
 #endif
 #ifndef OPENSSL_NO_PSK
             psk = 1;
 #endif
+            break;
         case OPT_SRP:
 #ifndef OPENSSL_NO_SRP
             srp = 1;
         case OPT_SRP:
 #ifndef OPENSSL_NO_SRP
             srp = 1;