From fc5c773d66dd5298b86e3a15890709d4793ed990 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Tue, 8 Dec 2020 14:31:02 -0500 Subject: [PATCH] Update secure allocator --- src/support/allocators/secure.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/support/allocators/secure.h b/src/support/allocators/secure.h index 6eb306e2a..4bf80adfe 100644 --- a/src/support/allocators/secure.h +++ b/src/support/allocators/secure.h @@ -1,10 +1,11 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2013 The Bitcoin Core developers -// Distributed under the MIT software license, see the accompanying +// Copyright (c) 2019-2020 The Hush developers +// Distributed under the GPLv3 software license, see the accompanying // file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html -#ifndef BITCOIN_SUPPORT_ALLOCATORS_SECURE_H -#define BITCOIN_SUPPORT_ALLOCATORS_SECURE_H +#ifndef HUSH_SUPPORT_ALLOCATORS_SECURE_H +#define HUSH_SUPPORT_ALLOCATORS_SECURE_H #include "support/pagelocker.h" @@ -59,4 +60,4 @@ struct secure_allocator : public std::allocator { // This is exactly like std::string, but with a custom allocator. typedef std::basic_string, secure_allocator > SecureString; -#endif // BITCOIN_SUPPORT_ALLOCATORS_SECURE_H +#endif // HUSH_SUPPORT_ALLOCATORS_SECURE_H