add "check Validate" support

This commit is contained in:
Tnze
2019-08-09 00:36:00 +08:00
parent bf46650ffc
commit 8d9d2a7695
6 changed files with 159 additions and 79 deletions

View File

@ -374,7 +374,7 @@ func (c *Client) encryptionResponse() ([]byte, []byte, error) {
return nil, nil, err
}
if p.ID != 0x01 {
return nil, nil, fmt.Errorf("0x%02X is not Encryption AuthResp", p.ID)
return nil, nil, fmt.Errorf("0x%02X is not Encryption authResp", p.ID)
}
var (