diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-08-12 17:54:06 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-08-21 12:25:33 -0400 |
commit | 108d9879eb814bc06095a1819d98b1c7c9a38e88 (patch) | |
tree | 0403f8a412f2e7bfddb1d171d122fe627aef81e3 /src/lib/tls/tortls_internal.h | |
parent | 96f8e1980204e83bb943fbff31e308a03b41160c (diff) | |
download | tor-108d9879eb814bc06095a1819d98b1c7c9a38e88.tar.gz tor-108d9879eb814bc06095a1819d98b1c7c9a38e88.zip |
Extract the non-generic part of tor_tls_context_decref().
Diffstat (limited to 'src/lib/tls/tortls_internal.h')
-rw-r--r-- | src/lib/tls/tortls_internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/tls/tortls_internal.h b/src/lib/tls/tortls_internal.h index c58379e19b..b997ee3e4a 100644 --- a/src/lib/tls/tortls_internal.h +++ b/src/lib/tls/tortls_internal.h @@ -29,6 +29,13 @@ int tor_tls_context_init_one(tor_tls_context_t **ppcontext, int is_client); #ifdef ENABLE_OPENSSL +void tor_tls_context_impl_free(struct ssl_ctx_st *); +#else +struct ssl_ctx_st; // XXXX replace +void tor_tls_context_impl_free(struct ssl_ctx_st *); +#endif + +#ifdef ENABLE_OPENSSL tor_tls_t *tor_tls_get_by_ssl(const struct ssl_st *ssl); int tor_tls_client_is_using_v2_ciphers(const struct ssl_st *ssl); void tor_tls_debug_state_callback(const struct ssl_st *ssl, |