Fix a bug in signature self tests in the FIPS module
authorMatt Caswell <matt@openssl.org>
Mon, 11 Oct 2021 11:08:29 +0000 (12:08 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 22 Oct 2021 07:43:27 +0000 (08:43 +0100)
commit61adb6cf950b65a7bfce9a8d78a7744dfae9f978
tree7034a9a9b0106ed17595261d445c515e7848e920
parentdc3f057ce1701d5fd77cc4fcc1d14afe3e3122a3
Fix a bug in signature self tests in the FIPS module

When calling EVP_PKEY_sign(), the size of the signature buffer must
be passed in *siglen.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16789)
providers/fips/self_test_kats.c