From db2f2d49b90a7738804e1af9d11e1010be37ee11 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 27 Sep 2018 16:14:45 +0200 Subject: [PATCH] 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) --- Configure | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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", -- 2.25.1