From ab7bfce9b78109c26600d1bb63c555643be1c345 Mon Sep 17 00:00:00 2001 From: Lindsay Stewart Date: Mon, 2 Oct 2023 10:40:13 -0700 Subject: [PATCH] ktls: make usable outside of tests (#4232) --- tls/s2n_ktls.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tls/s2n_ktls.c b/tls/s2n_ktls.c index 213be9d316d..06c39eb7d53 100644 --- a/tls/s2n_ktls.c +++ b/tls/s2n_ktls.c @@ -202,7 +202,6 @@ void s2n_ktls_configure_connection(struct s2n_connection *conn, s2n_ktls_mode kt static S2N_RESULT s2n_connection_ktls_enable(struct s2n_connection *conn, s2n_ktls_mode ktls_mode) { RESULT_ENSURE_REF(conn); - RESULT_ENSURE(s2n_in_test(), S2N_ERR_NOT_IN_TEST); RESULT_GUARD(s2n_ktls_validate(conn, ktls_mode)); int fd = 0;