summaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-02-10 15:31:43 -0500
committerNick Mathewson <nickm@torproject.org>2016-02-10 15:32:12 -0500
commit9746aed2baffeb3788552f8cdedc5611ab2f91b7 (patch)
tree210ad9e3e11b2a013668bc39f46bfe5ba6bf6925 /src/common/crypto.h
parent8a4bba06d27c99e7c1e7930761b3998a27787ce9 (diff)
downloadtor-9746aed2baffeb3788552f8cdedc5611ab2f91b7.tar.gz
tor-9746aed2baffeb3788552f8cdedc5611ab2f91b7.zip
Another automated rename.
Also simplify crypto_common_digests() to have no loop.
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r--src/common/crypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h
index 2aa49d3a1f..f1e4981193 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -193,7 +193,7 @@ int crypto_pk_private_hybrid_decrypt(crypto_pk_t *env, char *to,
int crypto_pk_asn1_encode(crypto_pk_t *pk, char *dest, size_t dest_len);
crypto_pk_t *crypto_pk_asn1_decode(const char *str, size_t len);
int crypto_pk_get_digest(const crypto_pk_t *pk, char *digest_out);
-int crypto_pk_get_all_digests(crypto_pk_t *pk, common_digests_t *digests_out);
+int crypto_pk_get_common_digests(crypto_pk_t *pk, common_digests_t *digests_out);
int crypto_pk_get_fingerprint(crypto_pk_t *pk, char *fp_out,int add_space);
int crypto_pk_get_hashed_fingerprint(crypto_pk_t *pk, char *fp_out);