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

13 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);
}