mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Fix fips_cipher_abort warning and other duplicate macros
This commit is contained in:
parent
4e2479e46a
commit
1399678ffd
@ -30,11 +30,6 @@ static void OPENSSL_cleanse(void *ptr, size_t len)
|
||||
cleanse_ctr = (unsigned char)ctr;
|
||||
}
|
||||
|
||||
# define fips_md_init(alg) fips_md_init_ctx(alg, alg)
|
||||
# define fips_md_init_ctx(alg, cx) \
|
||||
int alg##_Init(cx##_CTX *c)
|
||||
# define fips_cipher_abort(alg) while(0)
|
||||
|
||||
fips_md_init_ctx(SHA224, SHA256)
|
||||
{
|
||||
memset(c, 0, sizeof(*c));
|
||||
|
Loading…
Reference in New Issue
Block a user