From 818c7847cd49a3f66e4eea9e853bfb11cb37238a Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Mon, 29 Oct 2018 20:43:40 +0100 Subject: [PATCH] simplify even more --- src/domain.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/domain.c b/src/domain.c index 50691c1..5b452ff 100644 --- a/src/domain.c +++ b/src/domain.c @@ -275,8 +275,6 @@ kore_domain_tlsinit(struct kore_domain *dom, const void *pem, size_t pemlen) switch (tls_version) { case KORE_TLS_VERSION_1_3: case KORE_TLS_VERSION_1_2: - method = TLSv1_2_server_method(); - break; case KORE_TLS_VERSION_BOTH: method = TLSv1_2_server_method(); break;