Merge eea5745e4f
into dac1fd2bba
This commit is contained in:
commit
3742979372
|
@ -266,7 +266,7 @@ func parseCreateAsymmetricKeyResponse(payload []byte) (Response, error) {
|
|||
}
|
||||
|
||||
var keyID uint16
|
||||
err := binary.Read(bytes.NewReader(payload[1:3]), binary.BigEndian, &keyID)
|
||||
err := binary.Read(bytes.NewReader(payload), binary.BigEndian, &keyID)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue