summaryrefslogtreecommitdiffstats
path: root/ssl/t1_ext.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/t1_ext.c')
-rw-r--r--ssl/t1_ext.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ssl/t1_ext.c b/ssl/t1_ext.c
index f1092ac93d..396ad7e171 100644
--- a/ssl/t1_ext.c
+++ b/ssl/t1_ext.c
@@ -57,7 +57,6 @@
#include "ssl_locl.h"
-#ifndef OPENSSL_NO_TLSEXT
/* Find a custom extension from the list. */
static custom_ext_method *custom_ext_find(custom_ext_methods *exts,
@@ -283,12 +282,11 @@ int SSL_extension_supported(unsigned int ext_type)
case TLSEXT_TYPE_srp:
case TLSEXT_TYPE_status_request:
case TLSEXT_TYPE_use_srtp:
-# ifdef TLSEXT_TYPE_encrypt_then_mac
+#ifdef TLSEXT_TYPE_encrypt_then_mac
case TLSEXT_TYPE_encrypt_then_mac:
-# endif
+#endif
return 1;
default:
return 0;
}
}
-#endif