Add some API tests for TLSv1.3 record padding
authorMatt Caswell <matt@openssl.org>
Wed, 31 Aug 2022 11:31:24 +0000 (12:31 +0100)
committerHugo Landau <hlandau@openssl.org>
Fri, 9 Sep 2022 12:07:54 +0000 (13:07 +0100)
commitf3f8e53c852f07d38c124e45f7c678e854be4a54
tree2c2df1618e24bedfa6a917c189e4ea3219f5cd61
parent8ae080bf851a25187b93803b8c6a93e82dd97437
Add some API tests for TLSv1.3 record padding

We have some ssl_test_new tests for record padding. But these only use
the block padding approach set via a config file on the SSL_CTX. We add
tests for all the various API calls.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19103)
test/sslapitest.c