From 63e342be8452510abb67bfe24df90a0972a4edfd Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sun, 15 Jul 2018 12:59:58 +0100 Subject: crypto: move null_pkey/null_skey to the cpp file --- src/crypto/crypto.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/crypto/crypto.cpp') diff --git a/src/crypto/crypto.cpp b/src/crypto/crypto.cpp index f4ef751d3..36b510a5b 100644 --- a/src/crypto/crypto.cpp +++ b/src/crypto/crypto.cpp @@ -70,6 +70,9 @@ namespace crypto { #include "random.h" } + const crypto::public_key null_pkey = boost::value_initialized(); + const crypto::secret_key null_skey = boost::value_initialized(); + static inline unsigned char *operator &(ec_point &point) { return &reinterpret_cast(point); } -- cgit v1.2.3