summaryrefslogtreecommitdiff
path: root/src/common/tortls.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-11-14 22:07:48 +0000
committerNick Mathewson <nickm@torproject.org>2004-11-14 22:07:48 +0000
commitffe9b01ad7a3cb7299559fb21da17864575c3d12 (patch)
treee6ca71e1fec36920b44b69819c1bc53dd5f59a31 /src/common/tortls.h
parent57536f138a24c90282bc492bd3f9c8048d5f3d4b (diff)
downloadtor-ffe9b01ad7a3cb7299559fb21da17864575c3d12.tar.gz
tor-ffe9b01ad7a3cb7299559fb21da17864575c3d12.zip
Split X509 certificate liveness checks into a separate function
svn:r2873
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 9b7e24d7f9..ff2d69e1de 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -29,6 +29,7 @@ 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, size_t buflen);
int tor_tls_verify(tor_tls *tls, crypto_pk_env_t **identity);
+int tor_tls_check_lifetime(tor_tls *tls, int tolerance);
int tor_tls_read(tor_tls *tls, char *cp, size_t len);
int tor_tls_write(tor_tls *tls, char *cp, size_t n);
int tor_tls_handshake(tor_tls *tls);