diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-02-10 15:28:19 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-02-10 15:28:19 -0500 |
commit | 8a4bba06d27c99e7c1e7930761b3998a27787ce9 (patch) | |
tree | 7738b69de80a23c193a9daf34f4fba938558aa41 /src/or/routerkeys.c | |
parent | 39b597c2fd8b45ff61573c70c36e8a4846cf3a0e (diff) | |
download | tor-8a4bba06d27c99e7c1e7930761b3998a27787ce9.tar.gz tor-8a4bba06d27c99e7c1e7930761b3998a27787ce9.zip |
Rename crypto_digest_all, and digests_t.
They are no longer "all" digests, but only the "common" digests.
Part of 17795.
This is an automated patch I made with a couple of perl one-liners:
perl -i -pe 's/crypto_digest_all/crypto_common_digests/g;' src/*/*.[ch]
perl -i -pe 's/\bdigests_t\b/common_digests_t/g;' src/*/*.[ch]
Diffstat (limited to 'src/or/routerkeys.c')
-rw-r--r-- | src/or/routerkeys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerkeys.c b/src/or/routerkeys.c index d88bfca13a..210178dc1d 100644 --- a/src/or/routerkeys.c +++ b/src/or/routerkeys.c @@ -927,7 +927,7 @@ generate_ed_link_cert(const or_options_t *options, time_t now) return -1; } - const digests_t *digests = tor_x509_cert_get_cert_digests(link); + const common_digests_t *digests = tor_x509_cert_get_cert_digests(link); if (link_cert_cert && ! EXPIRES_SOON(link_cert_cert, options->TestingLinkKeySlop) && @@ -972,7 +972,7 @@ should_make_new_ed_keys(const or_options_t *options, const time_t now) if (tor_tls_get_my_certs(1, &link, &id) < 0 || link == NULL) return 1; - const digests_t *digests = tor_x509_cert_get_cert_digests(link); + const common_digests_t *digests = tor_x509_cert_get_cert_digests(link); if (!fast_memeq(digests->d[DIGEST_SHA256], link_cert_cert->signed_key.pubkey, |