aboutsummaryrefslogtreecommitdiff
path: root/src/support/cleanse.cpp
blob: a2141b244980399ab4d91b351ff809dd43f4efab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include "cleanse.h"

#include <openssl/crypto.h>

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