From ea3888a39749d90c8fb32f4bc5544cda22a75a76 Mon Sep 17 00:00:00 2001 From: slontis Date: Wed, 7 Aug 2024 16:19:10 +1000 Subject: [PATCH] Fix FIPS indicator defines for larger indicies. A newer PR is using setable3 now so these indicies should be fixed. Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/25118) --- providers/common/include/prov/fipsindicator.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/providers/common/include/prov/fipsindicator.h b/providers/common/include/prov/fipsindicator.h index f08b63f7b08..55178fdbda2 100644 --- a/providers/common/include/prov/fipsindicator.h +++ b/providers/common/include/prov/fipsindicator.h @@ -22,11 +22,11 @@ # define OSSL_FIPS_IND_SETTABLE0 0 # define OSSL_FIPS_IND_SETTABLE1 1 # define OSSL_FIPS_IND_SETTABLE2 2 -# define OSSL_FIPS_IND_SETTABLE3 2 -# define OSSL_FIPS_IND_SETTABLE4 2 -# define OSSL_FIPS_IND_SETTABLE5 2 -# define OSSL_FIPS_IND_SETTABLE6 2 -# define OSSL_FIPS_IND_SETTABLE7 2 +# define OSSL_FIPS_IND_SETTABLE3 3 +# define OSSL_FIPS_IND_SETTABLE4 4 +# define OSSL_FIPS_IND_SETTABLE5 5 +# define OSSL_FIPS_IND_SETTABLE6 6 +# define OSSL_FIPS_IND_SETTABLE7 7 # define OSSL_FIPS_IND_SETTABLE_MAX (1 + OSSL_FIPS_IND_SETTABLE7) /* Each settable is in one of 3 states */ -- 2.47.2