summaryrefslogtreecommitdiffstats
path: root/include/crypto/sm2err.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/sm2err.h')
-rw-r--r--include/crypto/sm2err.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto/sm2err.h b/include/crypto/sm2err.h
index 3b86c38c3c..d0b04baf71 100644
--- a/include/crypto/sm2err.h
+++ b/include/crypto/sm2err.h
@@ -27,7 +27,7 @@ int ERR_load_SM2_strings(void);
/*
* SM2 function codes.
*/
-# if !OPENSSL_API_3
+# ifndef OPENSSL_NO_DEPRECATED_3_0
# define SM2_F_PKEY_SM2_COPY 0
# define SM2_F_PKEY_SM2_CTRL 0
# define SM2_F_PKEY_SM2_CTRL_STR 0