Skip to content

Commit

Permalink
ktls: make usable outside of tests (#4232)
Browse files Browse the repository at this point in the history
  • Loading branch information
lrstewart authored Oct 2, 2023
1 parent 6da4a64 commit ab7bfce
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tls/s2n_ktls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ab7bfce

Please sign in to comment.