Fix some warnings

This commit is contained in:
Megamouse 2025-02-02 16:07:19 +01:00
parent cfd571cfc2
commit 3187dc816e
5 changed files with 6 additions and 5 deletions

View file

@ -598,7 +598,10 @@ int aes_setkey_dec( aes_context *ctx, const unsigned char *key, unsigned int key
*RK++ = *SK++;
*RK++ = *SK++;
#if defined(__SSE2__) || defined(_M_X64)
done:
#endif
// Wipe the stack buffer clean
std::fill_n(reinterpret_cast<volatile char*>(&cty), sizeof(cty), 0);