]> git.ipfire.org Git - thirdparty/openssl.git/commit
test_ecpub: verify returned length after encoding
authorBenjamin Kaduk <bkaduk@akamai.com>
Fri, 19 Feb 2021 21:46:49 +0000 (13:46 -0800)
committerRichard Levitte <levitte@openssl.org>
Sat, 27 Feb 2021 15:14:09 +0000 (16:14 +0100)
commitad7cb0bf5cb9b014d34327cb35ecdd609a3d4dd4
tree67973d51dbb3dcf5529fff05456d36a606579bcf
parentc0ff1932e446621f43cd607371b7d265370d4bc6
test_ecpub: verify returned length after encoding

Save the length we got from querying how much space was needed, and
check that the actual encoding call returned the same length.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14291)
test/evp_extra_test.c