aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-07-22 04:53:34 +0000
committerNick Mathewson <nickm@torproject.org>2004-07-22 04:53:34 +0000
commit38d8e36919e6ae699a0b76c355e5a171b837bbf4 (patch)
tree60d9cc51303e8c83062f5530160b1ab98ca5a00c /src/common/tortls.h
parent06b72cc8f285b894d97fc155e2038e60de044956 (diff)
downloadtor-38d8e36919e6ae699a0b76c355e5a171b837bbf4.tar.gz
tor-38d8e36919e6ae699a0b76c355e5a171b837bbf4.zip
Make tor_tls_new variant use alternative (certless) context
svn:r2096
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r--src/common/tortls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h
index 02dbeb7a7d..3346a878e2 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -24,7 +24,7 @@ typedef struct tor_tls_st tor_tls;
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 isServer);
+tor_tls *tor_tls_new(int sock, int is_server, int use_no_cert);
void tor_tls_free(tor_tls *tls);
int tor_tls_peer_has_cert(tor_tls *tls);
int tor_tls_get_peer_cert_nickname(tor_tls *tls, char *buf, int buflen);