mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
bounds checks
This commit is contained in:
parent
c90c008f65
commit
4dc9f6948d
2 changed files with 12 additions and 7 deletions
|
@ -133,14 +133,14 @@ namespace data
|
|||
|
||||
private:
|
||||
|
||||
void CreateSigner ();
|
||||
void CreateSigner () const;
|
||||
|
||||
private:
|
||||
|
||||
std::shared_ptr<IdentityEx> m_Public;
|
||||
uint8_t m_PrivateKey[256];
|
||||
uint8_t m_SigningPrivateKey[1024]; // assume private key doesn't exceed 1024 bytes
|
||||
std::unique_ptr<i2p::crypto::Signer> m_Signer;
|
||||
mutable std::unique_ptr<i2p::crypto::Signer> m_Signer;
|
||||
};
|
||||
|
||||
// kademlia
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue