Skip to content
This repository has been archived by the owner on Feb 18, 2023. It is now read-only.

Commit

Permalink
tls: fix broken tls test
Browse files Browse the repository at this point in the history
  • Loading branch information
fAuernigg authored and sreimers committed Apr 28, 2022
1 parent a948683 commit 2a4d30d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,14 +302,10 @@ static int test_tls_base(enum tls_keytype keytype, bool add_ca, int exp_verr,
verr = tls_peer_verify(tt.sc_cli);
TEST_EQUALS(exp_verr, verr);

#if 0
/* @TODO: fix test */
if (test_sess_reuse) {
TEST_EQUALS(MIN(i, 1),
MIN(1, (unsigned long int)
tls_session_reused(tt.sc_cli)));
TEST_EQUALS(i == 0 ? false : true,
tls_session_reused(tt.sc_cli));
}
#endif

tt.sc_cli = mem_deref(tt.sc_cli);
tt.sc_srv = mem_deref(tt.sc_srv);
Expand Down

0 comments on commit 2a4d30d

Please sign in to comment.