opensslconf.h.in: Use all the "openssl_api_defines"
authorRichard Levitte <levitte@openssl.org>
Tue, 6 Mar 2018 20:04:11 +0000 (21:04 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 6 Mar 2018 20:21:42 +0000 (21:21 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5533)

(cherry picked from commit cd15cb4d21fce81c94bc16f991c4bb1c73e71bfe)

include/openssl/opensslconf.h.in

index bec5bd09d2d4899b4d0b591221a33a6bbf535c44..e35fdfe3b41ee1442b77032f6e537bd0bb39611b 100644 (file)
@@ -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}}) {