mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
pass correct crypto type to identity
This commit is contained in:
parent
ab1cd3f5cf
commit
a4ce224cd1
2 changed files with 2 additions and 2 deletions
|
@ -657,7 +657,7 @@ namespace data
|
|||
uint8_t publicKey[256];
|
||||
GenerateCryptoKeyPair (cryptoType, keys.m_PrivateKey, publicKey);
|
||||
// identity
|
||||
keys.m_Public = std::make_shared<IdentityEx> (publicKey, signingPublicKey, type);
|
||||
keys.m_Public = std::make_shared<IdentityEx> (publicKey, signingPublicKey, type, cryptoType);
|
||||
|
||||
keys.CreateSigner ();
|
||||
return keys;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue