Merge elementsproject/secp256k1-zkp#142: musig: fix session_init argument NULL check

9124ce0d9cd76312ac74207cb4733c04a82738b3 musig: fix session_init argument NULL check (Jonas Nick)

Pull request description:

ACKs for top commit:
  real-or-random:
    ACK 9124ce0d9cd76312ac74207cb4733c04a82738b3

Tree-SHA512: 15b6e4012a2444803563151a37e3340e3aa59729ccafebfd80aac17b93f5429dc2b3c99e37119bfd68523f1e58ffd3efca67922d6cb4a2bbb7c8679de9f36097
This commit is contained in:
Jonas Nick 2021-08-18 18:01:33 +00:00
commit 9447642140
No known key found for this signature in database
GPG Key ID: 4861DBF262123605

View File

@ -241,7 +241,7 @@ SECP256K1_API int secp256k1_musig_session_init(
const secp256k1_musig_pre_session *pre_session, const secp256k1_musig_pre_session *pre_session,
size_t n_signers, size_t n_signers,
const unsigned char *seckey const unsigned char *seckey
) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3) SECP256K1_ARG_NONNULL(4) SECP256K1_ARG_NONNULL(5) SECP256K1_ARG_NONNULL(7) SECP256K1_ARG_NONNULL(8) SECP256K1_ARG_NONNULL(11); ) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3) SECP256K1_ARG_NONNULL(4) SECP256K1_ARG_NONNULL(5) SECP256K1_ARG_NONNULL(7) SECP256K1_ARG_NONNULL(8) SECP256K1_ARG_NONNULL(10);
/** Gets the signer's public nonce given a list of all signers' data with /** Gets the signer's public nonce given a list of all signers' data with
* commitments. Called by participating signers after * commitments. Called by participating signers after