diff options
author | Alexander Færøy <ahf@torproject.org> | 2021-05-25 13:25:23 +0000 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2021-05-25 13:25:23 +0000 |
commit | bab2b29f89f21781a87010cf7120615615b90599 (patch) | |
tree | b179d696e1369a0558aa93583ff229d919159d4f /src/test/test_tortls_openssl.c | |
parent | debede5e501667bc20666e3c2f5d62d7bc888c8b (diff) | |
parent | 4a7379b80a3d0f61d258b26f82d894da9b8cd0f5 (diff) | |
download | tor-bab2b29f89f21781a87010cf7120615615b90599.tar.gz tor-bab2b29f89f21781a87010cf7120615615b90599.zip |
Merge branch 'maint-0.4.5' into maint-0.4.6
Diffstat (limited to 'src/test/test_tortls_openssl.c')
-rw-r--r-- | src/test/test_tortls_openssl.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/test/test_tortls_openssl.c b/src/test/test_tortls_openssl.c index ede5b31dd0..010e09c8eb 100644 --- a/src/test/test_tortls_openssl.c +++ b/src/test/test_tortls_openssl.c @@ -1143,25 +1143,6 @@ test_tortls_unblock_renegotiation(void *ignored) } #endif /* !defined(OPENSSL_OPAQUE) */ -#ifndef OPENSSL_OPAQUE -static void -test_tortls_assert_renegotiation_unblocked(void *ignored) -{ - (void)ignored; - tor_tls_t *tls; - - tls = tor_malloc_zero(sizeof(tor_tls_t)); - tls->ssl = tor_malloc_zero(sizeof(SSL)); - tor_tls_unblock_renegotiation(tls); - tor_tls_assert_renegotiation_unblocked(tls); - /* No assertion here - this test will fail if tor_assert is turned on - * and things are bad. */ - - tor_free(tls->ssl); - tor_free(tls); -} -#endif /* !defined(OPENSSL_OPAQUE) */ - static void test_tortls_set_logged_address(void *ignored) { @@ -2224,7 +2205,6 @@ struct testcase_t tortls_openssl_tests[] = { INTRUSIVE_TEST_CASE(server_info_callback, 0), LOCAL_TEST_CASE(get_write_overhead_ratio, TT_FORK), LOCAL_TEST_CASE(is_server, 0), - INTRUSIVE_TEST_CASE(assert_renegotiation_unblocked, 0), INTRUSIVE_TEST_CASE(block_renegotiation, 0), INTRUSIVE_TEST_CASE(unblock_renegotiation, 0), INTRUSIVE_TEST_CASE(set_renegotiate_callback, 0), |