mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
crypto: move null_pkey/null_skey to the cpp file
This commit is contained in:
parent
eed4dba880
commit
63e342be84
2 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -277,8 +277,8 @@ namespace crypto {
|
|||
epee::to_hex::formatted(o, epee::as_byte_span(v)); return o;
|
||||
}
|
||||
|
||||
const static crypto::public_key null_pkey = boost::value_initialized<crypto::public_key>();
|
||||
const static crypto::secret_key null_skey = boost::value_initialized<crypto::secret_key>();
|
||||
const extern crypto::public_key null_pkey;
|
||||
const extern crypto::secret_key null_skey;
|
||||
}
|
||||
|
||||
CRYPTO_MAKE_HASHABLE(public_key)
|
||||
|
|
Loading…
Reference in a new issue