summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJ Mohan Rao Arisankala <mohan@barracuda.com>2016-02-26 11:37:08 +0530
committerMatt Caswell <matt@openssl.org>2016-05-05 14:25:41 +0100
commitc3d93da03b3588bbb7ed459a360fba37f7be1e0b (patch)
tree555bd102a0e8e4c65a79846f05c1b7d649308bfe /apps
parentd5e86796843ff0b1dab087ce2a6f867768436b63 (diff)
downloadopenssl-new-c3d93da03b3588bbb7ed459a360fba37f7be1e0b.tar.gz
remove unused macros in list -disabled
list -disabled was checking OPENSSL_NO_SSL/OPENSSL_NO_TLS, which are not used to disable SSL/TLS respectively. Building with these macros wrongly show as SSL/TLS disabled, hence removing this code. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'apps')
-rw-r--r--apps/openssl.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/openssl.c b/apps/openssl.c
index 7710c3a54c..df15574205 100644
--- a/apps/openssl.c
+++ b/apps/openssl.c
@@ -756,15 +756,9 @@ static void list_disabled(void)
#ifdef OPENSSL_NO_SRTP
BIO_puts(bio_out, "SRTP\n");
#endif
-#ifdef OPENSSL_NO_SSL
- BIO_puts(bio_out, "SSL\n");
-#endif
#ifdef OPENSSL_NO_SSL3
BIO_puts(bio_out, "SSL3\n");
#endif
-#if defined(OPENSSL_NO_TLS)
- BIO_puts(bio_out, "TLS\n");
-#endif
#ifdef OPENSSL_NO_TLS1
BIO_puts(bio_out, "TLS1\n");
#endif