From: Richard Levitte Date: Thu, 27 Sep 2018 14:14:45 +0000 (+0200) Subject: Configure: allow building without things deprecated up to and including v3.0 X-Git-Tag: openssl-3.0.0-alpha1~2839 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=db2f2d49b90a7738804e1af9d11e1010be37ee11;hp=3a63dbef15b62b121c5df8762f8cb915fb06b27a Configure: allow building without things deprecated up to and including v3.0 Reviewed-by: Tim Hudson Reviewed-by: Matthias St. Pierre Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/7724) --- diff --git a/Configure b/Configure index f9515a945c..b762cf80d4 100755 --- a/Configure +++ b/Configure @@ -43,8 +43,9 @@ my $usage="Usage: Configure [no- ...] [enable- ...] [-Dxxx] [-lx # # --cross-compile-prefix Add specified prefix to binutils components. # -# --api One of 0.9.8, 1.0.0 or 1.1.0. Do not compile support for -# interfaces deprecated as of the specified OpenSSL version. +# --api One of 0.9.8, 1.0.0, 1.1.0 or 3.0.0 (or 3). Do not compile +# support for interfaces deprecated as of the specified OpenSSL +# version. # # no-hw-xxx do not compile support for specific crypto hardware. # Generic OpenSSL-style methods relating to this support @@ -173,8 +174,9 @@ our $BSDthreads="-pthread -D_THREAD_SAFE -D_REENTRANT"; # # API compatibility name to version number mapping. # -my $maxapi = "1.1.0"; # API for "no-deprecated" builds +my $maxapi = "3.0.0"; # API for "no-deprecated" builds my $apitable = { + "3.0.0" => "0x30000000L", "1.1.0" => "0x10100000L", "1.0.0" => "0x10000000L", "0.9.8" => "0x00908000L",