1
0
mirror of https://github.com/danog/fast-srp.git synced 2024-11-26 20:04:49 +01:00

Fix bnGreaterOrEqual in the bignumber library

This commit is contained in:
Supereg 2020-04-12 07:08:10 +02:00
parent e07f5bdd6c
commit 98e7ed7233
No known key found for this signature in database
GPG Key ID: 2F08948C5653D720

View File

@ -330,7 +330,7 @@ function bnGreater(a) {
}
function bnGreaterOrEqual(a) {
return (this.compareTo(a) > 0) ? true : false;
return (this.compareTo(a) >= 0) ? true : false;
}
function bnLesser(a) {