Fix checks of whitelist serialize/parse arguments

This commit is contained in:
Jonas Nick
2017-06-27 12:14:29 +02:00
committed by Pieter Wuille
parent c28edd75fc
commit ee1e30de90
3 changed files with 48 additions and 12 deletions

View File

@@ -88,7 +88,7 @@ SECP256K1_API int secp256k1_whitelist_signature_serialize(
unsigned char *output,
size_t *output_len,
const secp256k1_whitelist_signature *sig
) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3);
) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3) SECP256K1_ARG_NONNULL(4);
/** Compute a whitelist signature
* Returns 1: signature was successfully created