diff options
author | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2019-08-22 17:33:38 +0200 |
---|---|---|
committer | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2019-09-28 20:24:22 +0200 |
commit | ea8e1fe55b51d9da69977d8dc3f2ffd648d438df (patch) | |
tree | 244f2d646422fc923710107bd412d6a782b6a45f /include | |
parent | c18d2d94c8a27c1dcc5036bebdfcce92874a297c (diff) |
Add legacy include guard manually to opensslconf.h.in
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9333)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/opensslconf.h.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/openssl/opensslconf.h.in b/include/openssl/opensslconf.h.in index f31588a0aa..73bda5a81a 100644 --- a/include/openssl/opensslconf.h.in +++ b/include/openssl/opensslconf.h.in @@ -61,9 +61,13 @@ extern "C" { # define RC4_INT {- $config{rc4_int} -} -#include <openssl/macros.h> - # ifdef __cplusplus } # endif + +# include <openssl/macros.h> +# if !OPENSSL_API_3 +# define HEADER_FILE_H /* deprecated in version 3.0 */ +# endif + #endif /* HEADER_OPENSSLCONF_H */ |