blob: 2edb2e90baceb68b7f118b06e03fd28ad89ccd57 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* $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);
}
|