Bugfix: swap arguments to noncefp

This commit is contained in:
Pieter Wuille committed 2015-10-21 03:40:37 +02:00
1 parent c98df263ed
commit f79aa88373
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ int secp256k1_ecdsa_sign_recoverable(const secp256k1_context* ctx, secp256k1_ecd
secp256k1_scalar_set_b32(&msg, msg32, NULL);
while (1) {
unsigned char nonce32[32];
ret = noncefp(nonce32, seckey, msg32, NULL, (void*)noncedata, count);
ret = noncefp(nonce32, msg32, seckey, NULL, (void*)noncedata, count);
if (!ret) {
break;
}