diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-05-21 14:28:12 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-11-03 08:37:22 -0400 |
commit | 348b90a915a5867bc0d8888e0fd12e8ec2319628 (patch) | |
tree | 3c42aaa4ea9eef11eedfdcd62bf023628e2f9a85 /src/or/torcert.h | |
parent | e94f1b4e0d4b31ed80e2eefb8700f2671817f561 (diff) | |
download | tor-348b90a915a5867bc0d8888e0fd12e8ec2319628.tar.gz tor-348b90a915a5867bc0d8888e0fd12e8ec2319628.zip |
Refactor RSA certificate checking into its own function.
Diffstat (limited to 'src/or/torcert.h')
-rw-r--r-- | src/or/torcert.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/torcert.h b/src/or/torcert.h index 3f81fcdd81..0420b41c9f 100644 --- a/src/or/torcert.h +++ b/src/or/torcert.h @@ -74,6 +74,10 @@ ssize_t tor_make_rsa_ed25519_crosscert(const ed25519_public_key_t *ed_key, or_handshake_certs_t *or_handshake_certs_new(void); void or_handshake_certs_free(or_handshake_certs_t *certs); +int or_handshake_certs_rsa_ok(int severity, + or_handshake_certs_t *certs, + tor_tls_t *tls); +int or_handshake_certs_ed25519_ok(or_handshake_certs_t *certs); #endif |