diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-08-28 13:46:24 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-28 13:46:24 -0400 |
commit | 18bc7fa70bd277d8284a8f245e54dd54b7a0c529 (patch) | |
tree | c06ebb534daa2aafbeddf074582c0342b3e4e199 /src/or/torcert.c | |
parent | ef6ed0f211dc0fcbfdcdb74d896e825cdc37ae9f (diff) | |
parent | 97347b1109fcbb9b7d6eb74624748c5e6f560b77 (diff) | |
download | tor-18bc7fa70bd277d8284a8f245e54dd54b7a0c529.tar.gz tor-18bc7fa70bd277d8284a8f245e54dd54b7a0c529.zip |
Merge remote-tracking branch 'haxxpop/fuzzing-hsv3'
Diffstat (limited to 'src/or/torcert.c')
-rw-r--r-- | src/or/torcert.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/or/torcert.c b/src/or/torcert.c index 69b157446a..05a0a518e1 100644 --- a/src/or/torcert.c +++ b/src/or/torcert.c @@ -356,12 +356,12 @@ tor_make_rsa_ed25519_crosscert(const ed25519_public_key_t *ed_key, * * Return 0 on success, negative on failure. */ -int -rsa_ed25519_crosscert_check(const uint8_t *crosscert, - const size_t crosscert_len, - const crypto_pk_t *rsa_id_key, - const ed25519_public_key_t *master_key, - const time_t reject_if_expired_before) +MOCK_IMPL(int, +rsa_ed25519_crosscert_check, (const uint8_t *crosscert, + const size_t crosscert_len, + const crypto_pk_t *rsa_id_key, + const ed25519_public_key_t *master_key, + const time_t reject_if_expired_before)) { rsa_ed_crosscert_t *cc = NULL; int rv; |