From 936c2b9e933eacae80d3489e5f7316589f3e9a07 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 5 Nov 2019 17:28:50 +0100 Subject: Update source files for deprecation at 3.0 Previous macros suggested that from 3.0, we're only allowed to deprecate things at a major version. However, there's no policy stating this, but there is for removal, saying that to remove something, it must have been deprecated for 5 years, and that removal can only happen at a major version. Meanwhile, the semantic versioning rule is that deprecation should trigger a MINOR version update, which is reflected in the macro names as of this change. Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/10364) --- crypto/aes/aes_ige.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/aes') diff --git a/crypto/aes/aes_ige.c b/crypto/aes/aes_ige.c index b95d3d4ba6..3300e518d2 100644 --- a/crypto/aes/aes_ige.c +++ b/crypto/aes/aes_ige.c @@ -9,7 +9,7 @@ #include "internal/cryptlib.h" -#if OPENSSL_API_3 +#ifdef OPENSSL_NO_DEPRECATED_3_0 NON_EMPTY_TRANSLATION_UNIT #else -- cgit v1.2.3