Browse Source

pass calculatePublic

pull/1535/head
orignal 5 years ago
parent
commit
438a225487
  1. 2
      libi2pd/CryptoKey.cpp

2
libi2pd/CryptoKey.cpp

@ -168,7 +168,7 @@ namespace crypto @@ -168,7 +168,7 @@ namespace crypto
ECIESX25519AEADRatchetDecryptor::ECIESX25519AEADRatchetDecryptor (const uint8_t * priv, bool calculatePublic)
{
m_StaticKeys.SetPrivateKey (priv);
m_StaticKeys.SetPrivateKey (priv, calculatePublic);
}
bool ECIESX25519AEADRatchetDecryptor::Decrypt (const uint8_t * epub, uint8_t * sharedSecret, BN_CTX * ctx, bool zeroPadding)

Loading…
Cancel
Save