mirror of
https://github.com/openssl/openssl.git
synced 2026-05-07 20:12:39 +00:00
Add Deprecation Macros for 4.1
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.foundation> MergeDate: Mon Mar 16 11:28:52 2026 (Merged from https://github.com/openssl/openssl/pull/30399)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
=head1 NAME
|
||||
|
||||
OPENSSL_NO_DEPRECATED_4_1, OSSL_DEPRECATEDIN_4_1,
|
||||
OPENSSL_NO_DEPRECATED_4_0, OSSL_DEPRECATEDIN_4_0,
|
||||
OPENSSL_NO_DEPRECATED_3_6, OSSL_DEPRECATEDIN_3_6,
|
||||
OPENSSL_NO_DEPRECATED_3_5, OSSL_DEPRECATEDIN_3_5,
|
||||
|
||||
@@ -187,6 +187,7 @@
|
||||
* 'no-deprecated'.
|
||||
*/
|
||||
|
||||
#undef OPENSSL_NO_DEPRECATED_4_1
|
||||
#undef OPENSSL_NO_DEPRECATED_4_0
|
||||
#undef OPENSSL_NO_DEPRECATED_3_6
|
||||
#undef OPENSSL_NO_DEPRECATED_3_4
|
||||
@@ -199,6 +200,17 @@
|
||||
#undef OPENSSL_NO_DEPRECATED_1_0_0
|
||||
#undef OPENSSL_NO_DEPRECATED_0_9_8
|
||||
|
||||
#if OPENSSL_API_LEVEL >= 40100
|
||||
#ifndef OPENSSL_NO_DEPRECATED
|
||||
#define OSSL_DEPRECATEDIN_4_1 OSSL_DEPRECATED(4.1)
|
||||
#define OSSL_DEPRECATEDIN_4_1_FOR(msg) OSSL_DEPRECATED_FOR(4.1, msg)
|
||||
#else
|
||||
#define OPENSSL_NO_DEPRECATED_4_1
|
||||
#endif
|
||||
#else
|
||||
#define OSSL_DEPRECATEDIN_4_1
|
||||
#define OSSL_DEPRECATEDIN_4_1_FOR(msg)
|
||||
#endif
|
||||
#if OPENSSL_API_LEVEL >= 40000
|
||||
#ifndef OPENSSL_NO_DEPRECATED
|
||||
#define OSSL_DEPRECATEDIN_4_0 OSSL_DEPRECATED(4.0)
|
||||
|
||||
Reference in New Issue
Block a user