diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-09-22 10:01:41 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-10-10 23:14:17 -0400 |
commit | 9a77ebc794cff2df50bb2d47788461864f4bc8c9 (patch) | |
tree | 099199f58e6e19b7d11cfc7e474b4aacf2788e38 /src/common/tortls.h | |
parent | 3f22ec179c6f90b9c2af9483e2c8000132d2f33e (diff) | |
download | tor-9a77ebc794cff2df50bb2d47788461864f4bc8c9.tar.gz tor-9a77ebc794cff2df50bb2d47788461864f4bc8c9.zip |
Make tor_tls_cert_is_valid check key lengths
Diffstat (limited to 'src/common/tortls.h')
-rw-r--r-- | src/common/tortls.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/tortls.h b/src/common/tortls.h index 00bf4066d2..90e76e4a95 100644 --- a/src/common/tortls.h +++ b/src/common/tortls.h @@ -123,7 +123,8 @@ crypto_pk_env_t *tor_tls_get_my_client_auth_key(void); crypto_pk_env_t *tor_tls_cert_get_key(tor_cert_t *cert); 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); + const tor_cert_t *signing_cert, + int check_rsa_1024); #endif |