[*] God knows how long ago this was improperly refactored. This impl shouldn't even be using the crt for fopen but whatever it disables caching its probably fine

This commit is contained in:
Reece Wilson 2021-10-24 13:08:38 +01:00
parent b1b5f417a7
commit fab9856adb

View File

@ -270,7 +270,7 @@ namespace Aurora::RNG
void Release()
{
#if defined(_UNIX_LIKE_DEVRAND)
#if defined(AURORA_IS_POSIX_DERIVED)
fclose(gDevURand);
#elif defined(AURORA_IS_MODERNNT_DERIVED) && defined(USE_OLD_NTCRYPT)
CryptReleaseContext(gCryptoProv, 0);