mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-21 16:49:10 +01:00
don't check TRANSIENT destination
This commit is contained in:
parent
560ebcec8d
commit
9e9236badb
1 changed files with 10 additions and 7 deletions
|
@ -367,12 +367,15 @@ namespace client
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//ensure it's a base64 string
|
if (destination != SAM_VALUE_TRANSIENT)
|
||||||
i2p::data::PrivateKeys keys;
|
|
||||||
if (!keys.FromBase64(destination))
|
|
||||||
{
|
{
|
||||||
SendMessageReply(SAM_SESSION_STATUS_INVALID_KEY, strlen(SAM_SESSION_STATUS_INVALID_KEY), true);
|
//ensure it's a base64 string
|
||||||
return;
|
i2p::data::PrivateKeys keys;
|
||||||
|
if (!keys.FromBase64(destination))
|
||||||
|
{
|
||||||
|
SendMessageReply(SAM_SESSION_STATUS_INVALID_KEY, strlen(SAM_SESSION_STATUS_INVALID_KEY), true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// create destination
|
// create destination
|
||||||
|
|
Loading…
Add table
Reference in a new issue