mirror of
https://github.com/openssl/openssl.git
synced 2025-03-01 19:28:10 +08:00
fips: change integrity check zeroization to use the OPENSSL_PEDANTIC_ZEROIZATION define
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26068)
This commit is contained in:
parent
8d09e61be6
commit
01cfee2cdf
@ -289,7 +289,9 @@ err:
|
||||
OSSL_SELF_TEST_onend(ev, ret);
|
||||
EVP_MAC_CTX_free(ctx);
|
||||
EVP_MAC_free(mac);
|
||||
# ifdef OPENSSL_PEDANTIC_ZEROIZATION
|
||||
OPENSSL_cleanse(out, sizeof(out));
|
||||
# endif
|
||||
return ret;
|
||||
}
|
||||
#endif /* OPENSSL_NO_FIPS_POST */
|
||||
|
Loading…
Reference in New Issue
Block a user