From: Richard Levitte Date: Tue, 6 Mar 2018 20:04:11 +0000 (+0100) Subject: opensslconf.h.in: Use all the "openssl_api_defines" X-Git-Tag: OpenSSL_1_1_0h~49 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a6356981791c37411096444e44d98bc561350300;p=oweals%2Fopenssl.git opensslconf.h.in: Use all the "openssl_api_defines" Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/5533) (cherry picked from commit cd15cb4d21fce81c94bc16f991c4bb1c73e71bfe) --- diff --git a/include/openssl/opensslconf.h.in b/include/openssl/opensslconf.h.in index bec5bd09d2..e35fdfe3b4 100644 --- a/include/openssl/opensslconf.h.in +++ b/include/openssl/opensslconf.h.in @@ -30,7 +30,7 @@ extern "C" { } foreach (@{$config{openssl_api_defines}}) { (my $macro, my $value) = $_ =~ /^(.*?)=(.*?)$/; - $OUT .= "#define OPENSSL_MIN_API $value\n"; + $OUT .= "#define $macro $value\n"; } if (@{$config{openssl_algorithm_defines}}) { foreach (@{$config{openssl_algorithm_defines}}) {