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);
}
ref='/cgit-pink/commit/cgit.c?id=dc41a0018058c81ee9a0a2dc6e89f737d7c1c966&follow=1'>Fix processing of repo.hide and repo.ignoreDaniel Reichelt