macros.h: There are just 3.1 deprecations, no 3.2 deprecations
authorTomas Mraz <tomas@openssl.org>
Mon, 2 Oct 2023 13:49:42 +0000 (15:49 +0200)
committerPauli <pauli@openssl.org>
Tue, 3 Oct 2023 20:52:41 +0000 (07:52 +1100)
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22247)

include/openssl/macros.h

index 66fa4eec2e730f8ee79a3e33aaedb1497f314250..e9ef9387470c1fa2b4a63eedb1f303b33707fcd6 100644 (file)
  * 'no-deprecated'.
  */
 
-# undef OPENSSL_NO_DEPRECATED_3_2
+# undef OPENSSL_NO_DEPRECATED_3_1
 # undef OPENSSL_NO_DEPRECATED_3_0
 # undef OPENSSL_NO_DEPRECATED_1_1_1
 # undef OPENSSL_NO_DEPRECATED_1_1_0
 # undef OPENSSL_NO_DEPRECATED_1_0_0
 # undef OPENSSL_NO_DEPRECATED_0_9_8
 
-# if OPENSSL_API_LEVEL >= 30200
+# if OPENSSL_API_LEVEL >= 30100
 #  ifndef OPENSSL_NO_DEPRECATED
-#   define OSSL_DEPRECATEDIN_3_2                OSSL_DEPRECATED(3.2)
-#   define OSSL_DEPRECATEDIN_3_2_FOR(msg)       OSSL_DEPRECATED_FOR(3.2, msg)
+#   define OSSL_DEPRECATEDIN_3_1                OSSL_DEPRECATED(3.1)
+#   define OSSL_DEPRECATEDIN_3_1_FOR(msg)       OSSL_DEPRECATED_FOR(3.1, msg)
 #  else
-#   define OPENSSL_NO_DEPRECATED_3_2
+#   define OPENSSL_NO_DEPRECATED_3_1
 #  endif
 # else
-#  define OSSL_DEPRECATEDIN_3_2
-#  define OSSL_DEPRECATEDIN_3_2_FOR(msg)
+#  define OSSL_DEPRECATEDIN_3_1
+#  define OSSL_DEPRECATEDIN_3_1_FOR(msg)
 # endif
 # if OPENSSL_API_LEVEL >= 30000
 #  ifndef OPENSSL_NO_DEPRECATED