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:28:26 +0000 |
commit | 46670c739d1f28c874b900e93952173d9846bec9 (patch) | |
tree | 508470daf0823eb7600e5f797fc1e5ebb780cd6f | |
parent | 2ee3e38f8f456db4b5afb023ae0472ff79204369 (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)
(cherry picked from commit 79704a88eb5aa70fa506e3e59a29fcda21f428af)
-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 |