summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-05 21:39:56 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-05 21:39:56 +0000
commit9c7eaa7a9ddde07ce0bdc9d471a3ca3d40e20caa (patch)
treeabf644d4d0a474113786cf9dffa929f1536fc792 /src/common
parent7dc70c2405e02e121c445e9d9970534e3236562a (diff)
downloadtor-9c7eaa7a9ddde07ce0bdc9d471a3ca3d40e20caa.tar.gz
tor-9c7eaa7a9ddde07ce0bdc9d471a3ca3d40e20caa.zip
r17918@catbus: nickm | 2008-02-05 16:39:17 -0500
Remove a few #if-0d items. svn:r13392
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tortls.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h
index cc9a7c1484..8584eb18ee 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -66,15 +66,6 @@ char *tor_tls_encode_my_certificate(tor_tls_t *tls, size_t *size_out,
crypto_pk_env_t *tor_tls_dup_private_key(tor_tls_t *tls);
int tor_tls_verify_v1(int severity, tor_tls_t *tls,
crypto_pk_env_t **identity);
-#if 0
-int tor_tls_verify_certs_v2(int severity, tor_tls_t *tls,
- const char *cert_str, size_t cert_len,
- const char *id_cert_str, size_t id_cert_len,
- crypto_pk_env_t **cert_key_out,
- char *conn_cert_digest_out,
- crypto_pk_env_t **id_key_out,
- char *id_digest_out);
-#endif
int tor_tls_check_lifetime(tor_tls_t *tls, int tolerance);
int tor_tls_read(tor_tls_t *tls, char *cp, size_t len);
int tor_tls_write(tor_tls_t *tls, const char *cp, size_t n);