]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Really deprecate the old NAMEerr() macros
authorRichard Levitte <levitte@openssl.org>
Wed, 4 Nov 2020 15:28:09 +0000 (16:28 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 18 Nov 2020 10:40:52 +0000 (11:40 +0100)
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13320)

include/openssl/err.h.in

index 0e6f4fbad2914b2bd22c0354363184a5faa1b2c0..35db02fad662f89850c41f39f36d009d62293f79 100644 (file)
@@ -123,7 +123,7 @@ struct err_state_st {
 
 # define ERR_LIB_USER            128
 
-# if 1 || !defined(OPENSSL_NO_DEPRECATED_3_0)
+# ifndef OPENSSL_NO_DEPRECATED_3_0
 #  define ASN1err(f, r) ERR_raise_data(ERR_LIB_ASN1, (r), NULL)
 #  define ASYNCerr(f, r) ERR_raise_data(ERR_LIB_ASYNC, (r), NULL)
 #  define BIOerr(f, r) ERR_raise_data(ERR_LIB_BIO, (r), NULL)