pineapple/externals/libressl/crypto/compat/explicit_bzero_win.c

14 lines
188 B
C
Raw Normal View History

2020-12-28 16:15:37 +01:00
/*
* Public domain.
* Win32 explicit_bzero compatibility shim.
*/
#include <windows.h>
#include <string.h>
void
explicit_bzero(void *buf, size_t len)
{
SecureZeroMemory(buf, len);
}