mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-06 08:17:27 +08:00
[billing] Fix Java 11 incompatibility in signWithKey
This commit is contained in:
@@ -73,7 +73,7 @@ public class BillingController {
|
|||||||
ByteBuffer sigbytes = ByteBuffer.allocate(15);
|
ByteBuffer sigbytes = ByteBuffer.allocate(15);
|
||||||
sigbytes.order(ByteOrder.LITTLE_ENDIAN);
|
sigbytes.order(ByteOrder.LITTLE_ENDIAN);
|
||||||
sigbytes.putInt(0, val);
|
sigbytes.putInt(0, val);
|
||||||
sigbytes.put(4, keychipId.getBytes());
|
sigbytes.put(4, keychipId.getBytes(), 0, keychipId.getBytes().length);
|
||||||
|
|
||||||
Signature sig;
|
Signature sig;
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user