summaryrefslogtreecommitdiff
path: root/src/common/tortls.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-02-11 01:41:19 +0000
committerNick Mathewson <nickm@torproject.org>2005-02-11 01:41:19 +0000
commit5d836c81408142519d3d5791b95c908c5240b3b7 (patch)
tree157b1b1985eec0248a9348d07cf1689f0b82fd55 /src/common/tortls.h
parentf672577bc6d32ecfe96582b463a83cac8eaac66f (diff)
downloadtor-5d836c81408142519d3d5791b95c908c5240b3b7.tar.gz
tor-5d836c81408142519d3d5791b95c908c5240b3b7.zip
Free tls resources on exit too
svn:r3615
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r--src/common/tortls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h
index 33fe573a50..e7fc084ace 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -24,6 +24,7 @@ typedef struct tor_tls_st tor_tls;
#define TOR_TLS_WANTWRITE -1
#define TOR_TLS_DONE 0
+void tor_tls_free_all(void);
int tor_tls_context_new(crypto_pk_env_t *rsa, int isServer,
const char *nickname, unsigned int key_lifetime);
tor_tls *tor_tls_new(int sock, int is_server, int use_no_cert);