From: Shreenidhi Shedi Date: Wed, 12 Jan 2022 15:25:38 +0000 (+0530) Subject: Add a comment to indicate ineffective macro X-Git-Tag: openssl-3.2.0-alpha1~3073 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79704a88eb5aa70fa506e3e59a29fcda21f428af;p=thirdparty%2Fopenssl.git 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 Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/17484) --- diff --git a/include/openssl/evp.h b/include/openssl/evp.h index 1850381720c..be57127e364 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