minisign: fix typo
This commit is contained in:
+2
-2
@@ -50,7 +50,7 @@ function parseSignature(sig_buf) {
|
|||||||
sig_buf = sig_buf.subarray(trusted_header.byteLength);
|
sig_buf = sig_buf.subarray(trusted_header.byteLength);
|
||||||
|
|
||||||
// Read and skip trusted comment
|
// Read and skip trusted comment
|
||||||
const trusted_comment_end = sig_bug.indexOf('\n');
|
const trusted_comment_end = sig_buf.indexOf('\n');
|
||||||
const trusted_comment = sig_buf.subarray(0, trusted_comment_end);
|
const trusted_comment = sig_buf.subarray(0, trusted_comment_end);
|
||||||
sig_buf = sig_buf.subarray(trusted_comment_end + 1);
|
sig_buf = sig_buf.subarray(trusted_comment_end + 1);
|
||||||
|
|
||||||
@@ -70,7 +70,7 @@ function parseSignature(sig_buf) {
|
|||||||
key_id: key_id,
|
key_id: key_id,
|
||||||
signature: signature,
|
signature: signature,
|
||||||
trusted_comment: trusted_comment,
|
trusted_comment: trusted_comment,
|
||||||
global_signature: global_signature,
|
global_signature: global_sig,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user