]> git.ipfire.org Git - thirdparty/openssl.git/commit
test/evp_test: Test if EVP_DigestSign() set signature's length.
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Mon, 1 Aug 2022 20:08:27 +0000 (22:08 +0200)
committerTodd Short <todd.short@me.com>
Thu, 4 Aug 2022 13:14:20 +0000 (09:14 -0400)
commitfc5888ccb60f33b366972299f30b976c4dc12162
tree2b4aabf6f5991d2b65943d317db9b062867c39cd
parentbbedc052973b1c2fab7d7fb891d02aea393ff579
test/evp_test: Test if EVP_DigestSign() set signature's length.

Increase the signature's length, that is passed to EVP_DigestSign(). The
implementation should set this parameter back to the actual length, that
has been written.

This (oneshot_digestsign_test_run()) fails for the ed25519/ ed448
implementation of s390 prio the fix. The change in digestsign_test_run()
follows the same pattern and is for collecting bonus points.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/18928)
test/evp_test.c