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:18:33 +0000 (21:18 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5533)

include/openssl/opensslconf.h.in

index 16aa82e63184849fe471e8142f04c188d11686b2..dc36a74f6d1bb3581107b52eec6b6cda6f1bece2 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}}) {