mirror of
https://github.com/monero-project/monero.git
synced 2025-08-12 05:50:14 -04:00
Merge pull request #4137
63e342b
crypto: move null_pkey/null_skey to the cpp file (moneromooo-monero)0496c7c
crypto: do not use boost::value_initialized to init null skey/pkey (moneromooo-monero)
This commit is contained in:
commit
5295e4eb82
3 changed files with 13 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue