summary refs log tree commit diff
path: root/compat/explicit_bzero_win.c
blob: 0d09d906a24c96663c708c9bfcaad2b6f54ccfb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * Public domain.
 * Win32 explicit_bzero compatibility shim.
 */

#include <windows.h>
#include <string.h>

void
explicit_bzero(void *buf, size_t len)
{
	SecureZeroMemory(buf, len);
}
d4231c8d2feba0b853aa0c013&follow=1'>Day 1June McEnroe 2017-11-27Move to 2016 directoryJune McEnroe