summaryrefslogtreecommitdiff
path: root/src/common/tortls.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-06-07 06:10:54 +0000
committerRoger Dingledine <arma@torproject.org>2006-06-07 06:10:54 +0000
commit0bfef523dfe4c4dc83ba2a444045c118ca5ac2b6 (patch)
treece30032e0b108f09f5030e10801be06952759065 /src/common/tortls.h
parent7512be0b650198b074345b562dbe0c4edc74653a (diff)
downloadtor-0bfef523dfe4c4dc83ba2a444045c118ca5ac2b6.tar.gz
tor-0bfef523dfe4c4dc83ba2a444045c118ca5ac2b6.zip
simplify the tortls api: we only support being a "server", that
is, even tor clients do the same sort of handshake. this has been true for years, so it's best to get rid of the stale code. svn:r6557
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 82a64cb97a..0416044d9e 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -26,7 +26,7 @@ typedef struct tor_tls_t tor_tls_t;
#define TOR_TLS_DONE 0
void tor_tls_free_all(void);
-int tor_tls_context_new(crypto_pk_env_t *rsa, int isServer,
+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);
int tor_tls_is_server(tor_tls_t *tls);