Add Deprecation Macros for 4.2

Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Frederik Wedel-Heinen <fwh.openssl@gmail.com>
Merge-date: Thu Oct  1 08:21:23 2026
Merged-from: https://github.com/openssl/openssl/pull/33039
This commit is contained in:
Bob Beck authored and Norbert Pocs committed 2026-10-01 10:21:22 +02:00
1 parent 669ca9b5ed
commit 79055da3e4
4 files changed
+15 -2

No files matched your search

+1 -1
View File
@@ -239,7 +239,7 @@ my $apitable = {
# From 3.0 and on, we internalise the given version number in decimal
# as MAJOR * 10000 + MINOR * 100 + 0
my @post30_versions = ([3, 0], [3, 1], [3, 2], [3, 3], [3, 4], [3, 5], [3, 6],
[4, 0], [4, 1],
[4, 0], [4, 1], [4, 2],
);
# The numbering used changes from 3.0 and on because we updated
+1
View File
@@ -2,6 +2,7 @@
=head1 NAME
OPENSSL_NO_DEPRECATED_4_2, OSSL_DEPRECATEDIN_4_2, OSSL_DEPRECATEDIN_4_2_FOR,
OPENSSL_NO_DEPRECATED_4_1, OSSL_DEPRECATEDIN_4_1, OSSL_DEPRECATEDIN_4_1_FOR,
OPENSSL_NO_DEPRECATED_4_0, OSSL_DEPRECATEDIN_4_0, OSSL_DEPRECATEDIN_4_0_FOR,
OPENSSL_NO_DEPRECATED_3_6, OSSL_DEPRECATEDIN_3_6, OSSL_DEPRECATEDIN_3_6_FOR,
+12
View File
@@ -177,6 +177,7 @@
* 'no-deprecated'.
*/
#undef OPENSSL_NO_DEPRECATED_4_2
#undef OPENSSL_NO_DEPRECATED_4_1
#undef OPENSSL_NO_DEPRECATED_4_0
#undef OPENSSL_NO_DEPRECATED_3_6
@@ -191,6 +192,17 @@
#undef OPENSSL_NO_DEPRECATED_1_0_0
#undef OPENSSL_NO_DEPRECATED_0_9_8
#if OPENSSL_API_LEVEL >= 40200
#ifndef OPENSSL_NO_DEPRECATED
#define OSSL_DEPRECATEDIN_4_2 OSSL_DEPRECATED(4.2)
#define OSSL_DEPRECATEDIN_4_2_FOR(msg) OSSL_DEPRECATED_FOR(4.2, msg)
#else
#define OPENSSL_NO_DEPRECATED_4_2
#endif
#else
#define OSSL_DEPRECATEDIN_4_2
#define OSSL_DEPRECATEDIN_4_2_FOR(msg)
#endif
#if OPENSSL_API_LEVEL >= 40100
#ifndef OPENSSL_NO_DEPRECATED
#define OSSL_DEPRECATEDIN_4_1 OSSL_DEPRECATED(4.1)
+1 -1
View File
@@ -134,7 +134,7 @@ void dtls1_clear_received_buffer(SSL_CONNECTION *s)
s->d1->has_change_cipher_spec = 0;
}
void ossl_list_record_number_elem_free(OSSL_LIST(record_number) * p_list)
void ossl_list_record_number_elem_free(OSSL_LIST(record_number) *p_list)
{
DTLS1_RECORD_NUMBER *p_elem;
DTLS1_RECORD_NUMBER *p_elem_next = NULL;