openssl/test/helpers
Rich Salz 55373bfd41 Add SSL_OP_ALLOW_CLIENT_RENEGOTIATION
Add -client_renegotiation flag support.  The -client_renegotiation flag is
equivalent to SSL_OP_ALLOW_CLIENT_RENEGOTIATION. Add support to the app,
the config code, and the documentation.

Add SSL_OP_ALLOW_CLIENT_RENEGOTIATION to the SSL tests. We don't need to
always enable it, but there are so many tests so this is the easiest thing
to do.

Add a test where client tries to renegotiate and it fails as expected. Add
a test where server tries to renegotiate and it succeeds. The second test
is supported by a new flag, -immediate_renegotiation, which is ignored on
the client.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15184)
2021-05-17 10:53:30 +02:00
..
cmp_testlib.c Update copyright year 2021-01-28 13:54:57 +01:00
cmp_testlib.h Add internal X509_add_certs_new(), which simplifies matters 2021-02-18 16:50:12 +01:00
handshake_srp.c Deprecate the libssl level SRP APIs 2021-02-12 08:47:32 +00:00
handshake.c Deprecate the libssl level SRP APIs 2021-02-12 08:47:32 +00:00
handshake.h Update copyright year 2021-02-18 15:05:17 +00:00
pkcs12.c Fix a memleak on an error path in the pkcs12 test helpers 2021-05-15 11:39:50 +10:00
pkcs12.h Update copyright year 2021-05-06 13:03:23 +01:00
predefined_dhparams.c Replace OSSL_PARAM_BLD_free_params() with OSSL_PARAM_free(). 2021-04-12 16:55:30 +10:00
predefined_dhparams.h test cleanup: move helper .c and .h files to test/helpers/ 2020-12-01 07:49:38 +01:00
ssl_test_ctx.c Update copyright year 2021-01-28 13:54:57 +01:00
ssl_test_ctx.h Update copyright year 2021-01-28 13:54:57 +01:00
ssltestlib.c Add SSL_OP_ALLOW_CLIENT_RENEGOTIATION 2021-05-17 10:53:30 +02:00
ssltestlib.h test cleanup: move helper .c and .h files to test/helpers/ 2020-12-01 07:49:38 +01:00