Make aux_rand32 arg to secp256k1_schnorrsig_sign const

This commit is contained in:
Pieter Wuille
2021-07-14 11:04:31 -07:00
parent be8d9c262f
commit db4667d5e0
3 changed files with 5 additions and 4 deletions

View File

@@ -120,7 +120,7 @@ SECP256K1_API int secp256k1_schnorrsig_sign(
unsigned char *sig64,
const unsigned char *msg32,
const secp256k1_keypair *keypair,
unsigned char *aux_rand32
const unsigned char *aux_rand32
) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3) SECP256K1_ARG_NONNULL(4);
/** Create a Schnorr signature with a more flexible API.