diff options
author | Richard Levitte <levitte@openssl.org> | 2019-11-05 17:28:50 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-11-07 11:37:25 +0100 |
commit | 936c2b9e933eacae80d3489e5f7316589f3e9a07 (patch) | |
tree | bcc8e013817b791df5b290c5ec1892e93969b5fc /include/crypto | |
parent | Change the logic and behaviour surrounding '--api' and 'no-deprecated' (diff) | |
download | openssl-936c2b9e933eacae80d3489e5f7316589f3e9a07.tar.xz openssl-936c2b9e933eacae80d3489e5f7316589f3e9a07.zip |
Update source files for deprecation at 3.0
Previous macros suggested that from 3.0, we're only allowed to
deprecate things at a major version. However, there's no policy
stating this, but there is for removal, saying that to remove
something, it must have been deprecated for 5 years, and that removal
can only happen at a major version.
Meanwhile, the semantic versioning rule is that deprecation should
trigger a MINOR version update, which is reflected in the macro names
as of this change.
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10364)
Diffstat (limited to 'include/crypto')
-rw-r--r-- | include/crypto/sm2err.h | 2 |
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 |