summary refs log tree commit diff
path: root/src/liboutils/mem_clr.c
blob: d8ce0c286ac20ecac1599d53d8fc6c1e5724870c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/* $OpenBSD: mem_clr.c,v 1.3 2014/04/15 23:04:49 tedu Exp $ */

/* Ted Unangst places this file in the public domain. */
#include <string.h>
#include <openssl/crypto.h>

void
OPENSSL_cleanse(void *ptr, size_t len)
{
	explicit_bzero(ptr, len);
}