Test that using the QUIC TLS API does not require BIOs to be set
When using the QUIC TLS API it does not make sense to require BIOs to be set. Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/27091)
This commit is contained in:
parent
2100cf2ee0
commit
445c0942cd
1 changed files with 8 additions and 0 deletions
|
@ -12799,6 +12799,10 @@ static int test_quic_tls(int idx)
|
|||
NULL)))
|
||||
goto end;
|
||||
|
||||
/* Reset the BIOs we set in create_ssl_objects. We should not need them */
|
||||
SSL_set_bio(serverssl, NULL, NULL);
|
||||
SSL_set_bio(clientssl, NULL, NULL);
|
||||
|
||||
if (!TEST_true(SSL_set_app_data(clientssl, &clientquicdata))
|
||||
|| !TEST_true(SSL_set_app_data(serverssl, &serverquicdata)))
|
||||
goto end;
|
||||
|
@ -12936,6 +12940,10 @@ static int test_quic_tls_early_data(void)
|
|||
|| !TEST_true(SSL_set_session(clientssl, sess)))
|
||||
goto end;
|
||||
|
||||
/* Reset the BIOs we set in create_ssl_objects. We should not need them */
|
||||
SSL_set_bio(serverssl, NULL, NULL);
|
||||
SSL_set_bio(clientssl, NULL, NULL);
|
||||
|
||||
if (!TEST_true(SSL_set_app_data(clientssl, &clientquicdata))
|
||||
|| !TEST_true(SSL_set_app_data(serverssl, &serverquicdata)))
|
||||
goto end;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue