From 3c27208fab1dc29f47f088490404df5abfcdfb05 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Fri, 18 Mar 2016 14:30:20 -0400 Subject: Remove #error from include files. Don't have #error statements in header files, but instead wrap the contents of that file in #ifndef OPENSSL_NO_xxx This means it is now always safe to include the header file. Reviewed-by: Richard Levitte --- ssl/t1_lib.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'ssl/t1_lib.c') diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index fc7ebe41ca..26c02a0e44 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -115,14 +115,10 @@ #include #include #include -#ifndef OPENSSL_NO_DH -# include -# include -#endif +#include +#include #include "ssl_locl.h" -#ifndef OPENSSL_NO_CT -# include -#endif +#include static int tls_decrypt_ticket(SSL *s, const unsigned char *tick, int ticklen, const unsigned char *sess_id, int sesslen, -- cgit v1.2.3