summaryrefslogtreecommitdiff
path: root/src/common/tortls.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-06-05 15:44:12 -0400
committerNick Mathewson <nickm@torproject.org>2017-06-05 15:44:12 -0400
commitd1c1dc229e189cbf4e463b82751af007801a02eb (patch)
treef4600f4663e62b0466c01da56dd3df6edccb2bb8 /src/common/tortls.h
parent7c54d2f3f0bcf483fd14dedb1a5dcbece6976411 (diff)
parent9fea00928cb680f550a5ea9c64227efc025ea69b (diff)
downloadtor-d1c1dc229e189cbf4e463b82751af007801a02eb.tar.gz
tor-d1c1dc229e189cbf4e463b82751af007801a02eb.zip
Merge branch 'maint-0.2.9' into maint-0.3.0
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 6510fdbe64..bb7701cc4b 100644
--- a/src/common/tortls.h
+++ b/src/common/tortls.h
@@ -199,6 +199,7 @@ 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);
MOCK_DECL(tor_x509_cert_t *,tor_tls_get_peer_cert,(tor_tls_t *tls));
+MOCK_DECL(tor_x509_cert_t *,tor_tls_get_own_cert,(tor_tls_t *tls));
int tor_tls_verify(int severity, tor_tls_t *tls, crypto_pk_t **identity);
int tor_tls_check_lifetime(int severity,
tor_tls_t *tls, time_t now,