mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
check if destination keys are correct
This commit is contained in:
parent
9aa9a62ed4
commit
69804c23f1
3 changed files with 8 additions and 5 deletions
2
SAM.cpp
2
SAM.cpp
|
@ -875,7 +875,7 @@ namespace client
|
|||
if (destination != "")
|
||||
{
|
||||
i2p::data::PrivateKeys keys;
|
||||
keys.FromBase64 (destination);
|
||||
if (!keys.FromBase64 (destination)) return nullptr;
|
||||
localDestination = i2p::client::context.CreateNewLocalDestination (keys, true, params);
|
||||
}
|
||||
else // transient
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue