fixed argument order for crypto_sign_open

This commit is contained in:
Luke Burns 2017-07-12 15:21:24 -04:00
parent 07e1bc4ed6
commit a04871ed03

View File

@ -1642,7 +1642,7 @@ function unpackneg(r, p) {
return 0; return 0;
} }
function crypto_sign_open(msg, sm, pk) { function crypto_sign_open(sm, msg, pk) {
check(msg, sm.length - crypto_sign_BYTES) check(msg, sm.length - crypto_sign_BYTES)
check(sm, crypto_sign_BYTES) check(sm, crypto_sign_BYTES)
check(pk, crypto_sign_PUBLICKEYBYTES) check(pk, crypto_sign_PUBLICKEYBYTES)