diff options
author | Shreenidhi Shedi <sshedi@vmware.com> | 2022-01-12 20:55:38 +0530 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2022-01-14 09:27:13 +0000 |
commit | 79704a88eb5aa70fa506e3e59a29fcda21f428af (patch) | |
tree | 9c195e6ddd6d1b2e4af7a735ad49b992b5787552 /include | |
parent | 8c870f6bed241ec80c67453e60592461f0d8f2b8 (diff) |
Add a comment to indicate ineffective macro
EVP_MD_CTX_FLAG_NON_FIPS_ALLOW macro is obsolete and unused from
openssl-3.0 onwards
CLA: trivial
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17484)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/evp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/evp.h b/include/openssl/evp.h index 1850381720..be57127e36 100644 --- a/include/openssl/evp.h +++ b/include/openssl/evp.h @@ -205,8 +205,8 @@ int (*EVP_MD_meth_get_ctrl(const EVP_MD *md))(EVP_MD_CTX *ctx, int cmd, * don't accidentally reuse the values for other purposes. */ -# define EVP_MD_CTX_FLAG_NON_FIPS_ALLOW 0x0008/* Allow use of non FIPS - * digest in FIPS mode */ +/* This flag has no effect from openssl-3.0 onwards */ +# define EVP_MD_CTX_FLAG_NON_FIPS_ALLOW 0x0008 /* * The following PAD options are also currently ignored in 1.0.0, digest |