From: Richard Levitte Date: Tue, 5 Nov 2019 16:36:44 +0000 (+0100) Subject: Update some inclusions of X-Git-Tag: openssl-3.0.0-alpha1~1002 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=285a0db396ff3a7801c199b6d812eae298178249;p=thirdparty%2Fopenssl.git Update some inclusions of Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/10364) --- diff --git a/include/openssl/opensslv.h.in b/include/openssl/opensslv.h.in index 69ba8c657ae..93805047214 100644 --- a/include/openssl/opensslv.h.in +++ b/include/openssl/opensslv.h.in @@ -13,11 +13,6 @@ # define OPENSSL_OPENSSLV_H # pragma once -# include -# if !OPENSSL_API_3 -# define HEADER_OPENSSLV_H -# endif - # ifdef __cplusplus extern "C" { # endif @@ -138,4 +133,10 @@ _____ # ifdef __cplusplus } # endif + +# include +# ifndef OPENSSL_NO_DEPRECATED_3_0 +# define HEADER_OPENSSLV_H +# endif + #endif /* OPENSSL_OPENSSLV_H */ diff --git a/ssl/methods.c b/ssl/methods.c index 6118fdbaae1..525f59e9123 100644 --- a/ssl/methods.c +++ b/ssl/methods.c @@ -8,6 +8,7 @@ */ #include +#include #include #include "ssl_local.h"