mirror of
https://github.com/monero-project/monero.git
synced 2026-01-05 01:07:21 -08:00
Merge pull request #4137
63e342bcrypto: move null_pkey/null_skey to the cpp file (moneromooo-monero)0496c7ccrypto: do not use boost::value_initialized to init null skey/pkey (moneromooo-monero)
This commit is contained in:
@@ -70,6 +70,9 @@ namespace crypto {
|
||||
#include "random.h"
|
||||
}
|
||||
|
||||
const crypto::public_key null_pkey = crypto::public_key{};
|
||||
const crypto::secret_key null_skey = crypto::secret_key{};
|
||||
|
||||
static inline unsigned char *operator &(ec_point &point) {
|
||||
return &reinterpret_cast<unsigned char &>(point);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user