Fix FIPS indicator defines for larger indicies.

A newer PR is using setable3 now so these indicies should be fixed.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25118)
This commit is contained in:
slontis 2024-08-07 16:19:10 +10:00 committed by Pauli
parent fd39d1c80c
commit ea3888a397

View File

@ -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 */