pineapple-src/externals/libressl/crypto/compat/explicit_bzero_win.c
2020-12-28 15:15:37 +00:00

14 lines
188 B
C
Executable File

/*
* Public domain.
* Win32 explicit_bzero compatibility shim.
*/
#include <windows.h>
#include <string.h>
void
explicit_bzero(void *buf, size_t len)
{
SecureZeroMemory(buf, len);
}