From: J Mohan Rao Arisankala <mohan@computer.org>
Date: Mon, 29 Feb 2016 16:53:18 +0000 (+0530)
Subject: GH764: s_server: trace option fall through
X-Git-Tag: OpenSSL_1_1_0-pre4~435
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1c03c81f52c15eb4f4b8aac158313c31be82e3e5;p=oweals%2Fopenssl.git

GH764: s_server: trace option fall through

in s_server cmd:
specifying -trace option, falls through and turn-on security_debug

Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
---

diff --git a/apps/s_server.c b/apps/s_server.c
index cd7a1e1a25..5ac3d8f72d 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -1332,9 +1332,8 @@ int s_server_main(int argc, char *argv[])
         case OPT_TRACE:
 #ifndef OPENSSL_NO_SSL_TRACE
             s_msg = 2;
-#else
-            break;
 #endif
+            break;
         case OPT_SECURITY_DEBUG:
             sdebug = 1;
             break;