aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/mac.c
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2019-06-17 11:40:56 +0200
committerHans Nilsson <[email protected]>2019-06-19 08:52:40 +0200
commit2abc4358d6437287ca9832b91dc0dccc6c048321 (patch)
tree1e58440b6f4d2286e847db2fa0b78b282d92c938 /lib/crypto/c_src/mac.c
parent8887ec80b5ffcf9b7e78a2e2a3ec3591fcfb5163 (diff)
downloadotp-2abc4358d6437287ca9832b91dc0dccc6c048321.tar.gz
otp-2abc4358d6437287ca9832b91dc0dccc6c048321.tar.bz2
otp-2abc4358d6437287ca9832b91dc0dccc6c048321.zip
crypto: Rename cipher fips macro
FORBIDDEN_IN_FIPS -> CIPHER_FORBIDDEN_IN_FIPS
Diffstat (limited to 'lib/crypto/c_src/mac.c')
-rw-r--r--lib/crypto/c_src/mac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/crypto/c_src/mac.c b/lib/crypto/c_src/mac.c
index 8b2710b91a..ed09dae8e4 100644
--- a/lib/crypto/c_src/mac.c
+++ b/lib/crypto/c_src/mac.c
@@ -284,7 +284,7 @@ ERL_NIF_TERM mac_one_time(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[])
goto err;
}
- if (FORBIDDEN_IN_FIPS(cipherp))
+ if (CIPHER_FORBIDDEN_IN_FIPS(cipherp))
{
return_term = EXCP_NOTSUP(env, "Cipher algorithm not supported in FIPS");
goto err;
@@ -553,7 +553,7 @@ ERL_NIF_TERM mac_init_nif(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[])
goto err;
}
- if (FORBIDDEN_IN_FIPS(cipherp))
+ if (CIPHER_FORBIDDEN_IN_FIPS(cipherp))
{
return_term = EXCP_NOTSUP(env, "Cipher algorithm not supported in FIPS");
goto err;