Test short buffers
authorMatt Caswell <matt@openssl.org>
Thu, 7 Oct 2021 13:15:47 +0000 (14:15 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 22 Oct 2021 07:43:27 +0000 (08:43 +0100)
commit15ff7d7c2569a1aceaf6e85b61aee62422628fc9
treedcdf573fbf239dfb991102aca7f82b009804a891
parent7be8ba546267787c1b0df8a4fddaf9cb29944cbb
Test short buffers

Test that calling EVP_DigestSign(), EVP_DigestSignFinal(),
EVP_PKEY_sign(), EVP_PKEY_get_raw_private_key(), or
EVP_PKEY_get_raw_public_key() with a short output buffer results in a
failure.

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