mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
Fix #1257
This commit is contained in:
parent
aa9c1b66a0
commit
cdecb7a43c
|
@ -368,6 +368,7 @@ namespace client
|
|||
}
|
||||
|
||||
//ensure it's a base64 string
|
||||
i2p::data::PrivateKeys keys;
|
||||
if (!keys.FromBase64(destination))
|
||||
{
|
||||
SendMessageReply(SAM_SESSION_STATUS_INVALID_KEY, strlen(SAM_SESSION_STATUS_INVALID_KEY), true);
|
||||
|
|
Loading…
Reference in a new issue