mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
bounds checks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user