From 42ba87d9648c5aa6c15d53175c477ce697932188 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 25 May 2021 07:38:31 -0400 Subject: Remove the function `tor_tls_assert_renegotiation_unblocked`. It was used nowhere outside its own unit tests, and it was causing compilation issues with recent OpenSSL 3.0.0 alphas. Closes ticket 40399. --- src/lib/tls/tortls_nss.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/lib/tls/tortls_nss.c') diff --git a/src/lib/tls/tortls_nss.c b/src/lib/tls/tortls_nss.c index 6f6c47674e..b7f3513150 100644 --- a/src/lib/tls/tortls_nss.c +++ b/src/lib/tls/tortls_nss.c @@ -633,13 +633,6 @@ tor_tls_block_renegotiation(tor_tls_t *tls) /* We don't support renegotiation with NSS. */ } -void -tor_tls_assert_renegotiation_unblocked(tor_tls_t *tls) -{ - tor_assert(tls); - /* We don't support renegotiation with NSS. */ -} - int tor_tls_get_pending_bytes(tor_tls_t *tls) { -- cgit v1.2.3-54-g00ecf