summaryrefslogtreecommitdiff
path: root/src/common/tortls.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-06-07 06:21:11 +0000
committerRoger Dingledine <arma@torproject.org>2006-06-07 06:21:11 +0000
commit8cf45df2300697e56e97634be7aa5c12238790f1 (patch)
treeb2010c3ff3349f88d327911fe43e17349c0d6262 /src/common/tortls.h
parent0bfef523dfe4c4dc83ba2a444045c118ca5ac2b6 (diff)
downloadtor-8cf45df2300697e56e97634be7aa5c12238790f1.tar.gz
tor-8cf45df2300697e56e97634be7aa5c12238790f1.zip
and now the exciting part: there is now no such thing as doing
a client-only tls, that is, one with no certs. svn:r6558
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 0416044d9e..2569abf79c 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -28,7 +28,7 @@ typedef struct tor_tls_t tor_tls_t;
void tor_tls_free_all(void);
int tor_tls_context_new(crypto_pk_env_t *rsa,
const char *nickname, unsigned int key_lifetime);
-tor_tls_t *tor_tls_new(int sock, int is_server, int use_no_cert);
+tor_tls_t *tor_tls_new(int sock, int is_server);
int tor_tls_is_server(tor_tls_t *tls);
void tor_tls_free(tor_tls_t *tls);
int tor_tls_peer_has_cert(tor_tls_t *tls);