mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-06 03:50:18 +02:00
refactor(adb): further split sync module
This commit is contained in:
parent
65e0ba042e
commit
d887639efd
18 changed files with 482 additions and 419 deletions
|
@ -257,7 +257,7 @@ export function sign(privateKey: ArrayBuffer, data: ArrayBuffer): ArrayBuffer {
|
|||
const fillLength = padded.length - Sha1DigestInfo.length - data.byteLength - 1;
|
||||
while (index < fillLength) {
|
||||
padded[index] = 0xff;
|
||||
index++;
|
||||
index += 1;
|
||||
}
|
||||
|
||||
padded[index] = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue