Browse Source

Fix #1257

pull/1304/head
Life Coder 6 years ago
parent
commit
cdecb7a43c
  1. 1
      libi2pd_client/SAM.cpp

1
libi2pd_client/SAM.cpp

@ -368,6 +368,7 @@ namespace client @@ -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…
Cancel
Save