diff options
author | Richard Levitte <levitte@openssl.org> | 2020-04-13 22:34:56 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-04-28 15:37:37 +0200 |
commit | f844f9eb44186df2f8b0cfd3264b4eb003d8c61a (patch) | |
tree | 29860f9c269b67546a418c0197066164e455a362 /test/aesgcmtest.c | |
parent | cf86057a1acd13b13c9bd8f7b8a14bbc0e3ffd56 (diff) | |
download | openssl-f844f9eb44186df2f8b0cfd3264b4eb003d8c61a.tar.gz |
Rename FIPS_MODE to FIPS_MODULE
This macro is used to determine if certain pieces of code should
become part of the FIPS module or not. The old name was confusing.
Fixes #11538
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11539)
Diffstat (limited to 'test/aesgcmtest.c')
-rw-r--r-- | test/aesgcmtest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/aesgcmtest.c b/test/aesgcmtest.c index 4a255d502c..3bb3a54fcb 100644 --- a/test/aesgcmtest.c +++ b/test/aesgcmtest.c @@ -116,7 +116,7 @@ static int badkeylen_test(void) return ret; } -#ifdef FIPS_MODE +#ifdef FIPS_MODULE static int ivgen_test(void) { unsigned char iv_gen[16]; @@ -127,14 +127,14 @@ static int ivgen_test(void) return do_encrypt(iv_gen, ct, &ctlen, tag, &taglen) && do_decrypt(iv_gen, ct, ctlen, tag, taglen); } -#endif /* FIPS_MODE */ +#endif /* FIPS_MODULE */ int setup_tests(void) { ADD_TEST(kat_test); ADD_TEST(badkeylen_test); -#ifdef FIPS_MODE +#ifdef FIPS_MODULE ADD_TEST(ivgen_test); -#endif /* FIPS_MODE */ +#endif /* FIPS_MODULE */ return 1; } |