mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
fxied crash
This commit is contained in:
parent
efab8106c6
commit
4341d285aa
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ namespace ntcp
|
|||
void NTCPSession::CreateAESKey (uint8_t * pubKey, uint8_t * aesKey)
|
||||
{
|
||||
CryptoPP::DH dh (elgp, elgg);
|
||||
uint8_t sharedKey[64];
|
||||
uint8_t sharedKey[256];
|
||||
if (!dh.Agree (sharedKey, m_DHKeysPair->privateKey, pubKey))
|
||||
{
|
||||
LogPrint ("Couldn't create shared key");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue