Better error case handling for pubkey_create & pubkey_serialize, more tests. #345

pull gmaxwell wants to merge 1 commits into bitcoin-core:master from gmaxwell:more_tests3 changing 2 files +78 −10
  1. gmaxwell commented at 9:18 AM on October 30, 2015: contributor

    Makes secp256k1_ec_pubkey_serialize set the length to zero on failure, also makes secp256k1_ec_pubkey_create set the pubkey to zeros when the key argument is NULL.

    Also adds many additional ARGCHECK tests.

  2. Better error case handling for pubkey_create & pubkey_serialize, more tests.
    Makes secp256k1_ec_pubkey_serialize set the length to zero on failure,
     also makes secp256k1_ec_pubkey_create set the pubkey to zeros when
     the key argument is NULL.
    
    Also adds many additional ARGCHECK tests.
    5b71a3f460
  3. sipa commented at 11:22 PM on October 30, 2015: contributor

    ACK

  4. sipa merged this on Oct 30, 2015
  5. sipa closed this on Oct 30, 2015

  6. sipa referenced this in commit 47092650f9 on Oct 30, 2015
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 11:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me