更多解密失败日志

This commit is contained in:
WangQiang 2016-07-18 03:27:04 +00:00
parent 528b074595
commit e88c8c72c9
1 changed files with 3 additions and 1 deletions

View File

@ -242,7 +242,9 @@ bool TokenController::OnReceive(Message& msg)
if (!Decrypt(bs, Key))
{
debug_printf("TokenController::OnReceive 解密失败 Key:\r\n");
debug_printf("Code 0x%02X Key: ",msg.Code);
auto remote = (IPEndPoint*)msg.State;
remote->Show(false);
debug_printf(" Code 0x%02X Key: ",msg.Code);
Key.Show(true);
return false;
}