diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-09-14 13:04:48 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-10-10 23:14:10 -0400 |
commit | f4c1fa2a04c310c4e0274129bb2fff2aacb59248 (patch) | |
tree | 64f861b5c1faddd91a76302533c3c64382335925 /src/common/tortls.h | |
parent | c39688de6c5d4bf19739ecffb2e98aa560a4630a (diff) | |
download | tor-f4c1fa2a04c310c4e0274129bb2fff2aacb59248.tar.gz tor-f4c1fa2a04c310c4e0274129bb2fff2aacb59248.zip |
More functions to manipulate certs received in cells
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r-- | src/common/tortls.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h index a6aed29852..36309afd4d 100644 --- a/src/common/tortls.h +++ b/src/common/tortls.h @@ -115,6 +115,9 @@ void tor_cert_get_der(const tor_cert_t *cert, int tor_tls_get_my_certs(int server, const tor_cert_t **link_cert_out, const tor_cert_t **id_cert_out); +int tor_tls_cert_matches_key(const tor_tls_t *tls, const tor_cert_t *cert); +int tor_tls_cert_is_valid(const tor_cert_t *cert, + const tor_cert_t *signing_cert); #endif |