mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-16 03:34:56 +02:00
src/libsecp256k1/ecdsa.cpp: fix unused variable warning in extended_nonce_function()
This commit is contained in:
parent
ee4705e858
commit
b7a1298615
1 changed files with 1 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ int is_canonical(const unsigned char *d) {
|
|||
static int extended_nonce_function( unsigned char *nonce32, const unsigned char *msg32,
|
||||
const unsigned char *key32, const unsigned char* algo16,
|
||||
void* data, unsigned int attempt ) {
|
||||
(void)attempt; // "use" the variable here to shutup compiler about unsed variable.
|
||||
return secp256k1_nonce_function_rfc6979(nonce32, msg32, key32, algo16, nullptr, *(unsigned int*) data);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue