You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
617 B
13 lines
617 B
1 month ago
|
diff -rupN yarn-1.22.21/node_modules/browserify-sign/browser/verify.js yarn-1.22.21-new/node_modules/browserify-sign/browser/verify.js
|
||
|
--- yarn-1.22.21/node_modules/browserify-sign/browser/verify.js 2024-02-16 23:36:10.000000000 +0100
|
||
|
+++ yarn-1.22.21-new/node_modules/browserify-sign/browser/verify.js 2024-02-19 11:14:55.923549230 +0100
|
||
|
@@ -77,7 +77,7 @@ function dsaVerify (sig, hash, pub) {
|
||
|
|
||
|
function checkValue (b, q) {
|
||
|
if (b.cmpn(0) <= 0) throw new Error('invalid sig')
|
||
|
- if (b.cmp(q) >= q) throw new Error('invalid sig')
|
||
|
+ if (b.cmp(q) >= 0) throw new Error('invalid sig')
|
||
|
}
|
||
|
|
||
|
module.exports = verify
|