Add deprecation macros for 3.6.0

Signed-off-by: Norbert Pocs <norbertp@openssl.org>

Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27727)
This commit is contained in:
Norbert Pocs 2025-05-22 11:45:49 +02:00 committed by Neil Horman
parent 704a2108ab
commit 1bc3191b68
1 changed files with 12 additions and 0 deletions

View File

@ -169,6 +169,7 @@
* 'no-deprecated'.
*/
# undef OPENSSL_NO_DEPRECATED_3_6
# undef OPENSSL_NO_DEPRECATED_3_4
# undef OPENSSL_NO_DEPRECATED_3_1
# undef OPENSSL_NO_DEPRECATED_3_0
@ -179,6 +180,17 @@
# undef OPENSSL_NO_DEPRECATED_1_0_0
# undef OPENSSL_NO_DEPRECATED_0_9_8
# if OPENSSL_API_LEVEL >= 30600
# ifndef OPENSSL_NO_DEPRECATED
# define OSSL_DEPRECATEDIN_3_6 OSSL_DEPRECATED(3.6)
# define OSSL_DEPRECATEDIN_3_6_FOR(msg) OSSL_DEPRECATED_FOR(3.6, msg)
# else
# define OPENSSL_NO_DEPRECATED_3_6
# endif
# else
# define OSSL_DEPRECATEDIN_3_6
# define OSSL_DEPRECATEDIN_3_6_FOR(msg)
# endif
# if OPENSSL_API_LEVEL >= 30500
# ifndef OPENSSL_NO_DEPRECATED
# define OSSL_DEPRECATEDIN_3_5 OSSL_DEPRECATED(3.5)