aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/crypto.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-07-15 12:59:58 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-07-15 19:09:36 +0100
commit63e342be8452510abb67bfe24df90a0972a4edfd (patch)
tree68f3c93f8bd6ee3ceb93a86dc65cdd1f25b01bc1 /src/crypto/crypto.cpp
parentMerge pull request #4094 (diff)
downloadmonero-63e342be8452510abb67bfe24df90a0972a4edfd.tar.xz
crypto: move null_pkey/null_skey to the cpp file
Diffstat (limited to '')
-rw-r--r--src/crypto/crypto.cpp3
1 files changed, 3 insertions, 0 deletions
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<crypto::public_key>();
+ const crypto::secret_key null_skey = boost::value_initialized<crypto::secret_key>();
+
static inline unsigned char *operator &(ec_point &point) {
return &reinterpret_cast<unsigned char &>(point);
}