2015-01-20 16:23:25 -08:00
|
|
|
// Copyright (c) 2009-2010 Satoshi Nakamoto
|
|
|
|
// Copyright (c) 2009-2015 The Bitcoin Core developers
|
|
|
|
// Distributed under the MIT software license, see the accompanying
|
2019-07-18 07:16:09 -07:00
|
|
|
// file COPYING or https://www.opensource.org/licenses/mit-license.php .
|
2015-01-20 16:23:25 -08:00
|
|
|
|
|
|
|
#include "cleanse.h"
|
|
|
|
|
|
|
|
#include <openssl/crypto.h>
|
|
|
|
|
|
|
|
void memory_cleanse(void *ptr, size_t len)
|
|
|
|
{
|
|
|
|
OPENSSL_cleanse(ptr, len);
|
|
|
|
}
|