Skip to content

Commit 453c262

Browse files
committed
minisign: fix typo
1 parent 134931c commit 453c262

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

minisign.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function parseSignature(sig_buf) {
5050
sig_buf = sig_buf.subarray(trusted_header.byteLength);
5151

5252
// Read and skip trusted comment
53-
const trusted_comment_end = sig_bug.indexOf('\n');
53+
const trusted_comment_end = sig_buf.indexOf('\n');
5454
const trusted_comment = sig_buf.subarray(0, trusted_comment_end);
5555
sig_buf = sig_buf.subarray(trusted_comment_end + 1);
5656

@@ -70,7 +70,7 @@ function parseSignature(sig_buf) {
7070
key_id: key_id,
7171
signature: signature,
7272
trusted_comment: trusted_comment,
73-
global_signature: global_signature,
73+
global_signature: global_sig,
7474
};
7575
}
7676

0 commit comments

Comments
 (0)