修改异常信息
This commit is contained in:
parent
6b5d6633a6
commit
bc886998c7
@ -27,10 +27,10 @@ public class SydSM4Mac implements ISM4Mac {
|
||||
int length = pcData.length;
|
||||
byte[] pcdataResult = pcData;
|
||||
if (is_finished) {
|
||||
throw new SydApiException(-1);
|
||||
throw new SydApiException(0x8007);
|
||||
}
|
||||
if (length > 4064) {
|
||||
throw new SydApiException(-1);
|
||||
throw new SydApiException(0x8006);
|
||||
}
|
||||
if (0 == queue.getLength()) {
|
||||
if (length < 16) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user