summaryrefslogtreecommitdiffstats
path: root/test/ssl_test.c
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-06-28 19:51:09 +0100
committerPauli <pauli@openssl.org>2023-07-05 09:03:04 +1000
commit3f7b67fb21e31b4262bb0c0dd83c01c221f3278c (patch)
tree84a174e42ee7670babb2283051e79f69ed0d4423 /test/ssl_test.c
parentd6e7ebba3370e06ea4dfae6381dfe0e1c21070e3 (diff)
Remove unused server code
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20061)
Diffstat (limited to 'test/ssl_test.c')
-rw-r--r--test/ssl_test.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/test/ssl_test.c b/test/ssl_test.c
index 2795909820..56b765ad8e 100644
--- a/test/ssl_test.c
+++ b/test/ssl_test.c
@@ -14,9 +14,6 @@
#include <openssl/err.h>
#include <openssl/ssl.h>
#include <openssl/provider.h>
-#ifndef OPENSSL_NO_QUIC
-#include <openssl/quic.h>
-#endif
#include "helpers/handshake.h"
#include "helpers/ssl_test_ctx.h"
@@ -500,28 +497,6 @@ static int test_handshake(int idx)
goto err;
}
}
-#ifndef OPENSSL_NO_QUIC
- if (test_ctx->method == SSL_TEST_METHOD_QUIC) {
- server_ctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_server_method());
- if (test_ctx->extra.server.servername_callback !=
- SSL_TEST_SERVERNAME_CB_NONE) {
- if (!TEST_ptr(server2_ctx =
- SSL_CTX_new_ex(libctx, NULL,
- OSSL_QUIC_server_method())))
- goto err;
- }
- client_ctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method());
- if (test_ctx->handshake_mode == SSL_TEST_HANDSHAKE_RESUME) {
- resume_server_ctx = SSL_CTX_new_ex(libctx, NULL,
- OSSL_QUIC_server_method());
- resume_client_ctx = SSL_CTX_new_ex(libctx, NULL,
- OSSL_QUIC_client_method());
- if (!TEST_ptr(resume_server_ctx)
- || !TEST_ptr(resume_client_ctx))
- goto err;
- }
- }
-#endif
#ifdef OPENSSL_NO_AUTOLOAD_CONFIG
if (!TEST_true(OPENSSL_init_ssl(OPENSSL_INIT_LOAD_CONFIG, NULL)))