diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-02-10 15:31:43 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-02-10 15:32:12 -0500 |
commit | 9746aed2baffeb3788552f8cdedc5611ab2f91b7 (patch) | |
tree | 210ad9e3e11b2a013668bc39f46bfe5ba6bf6925 /src/test/test_crypto.c | |
parent | 8a4bba06d27c99e7c1e7930761b3998a27787ce9 (diff) | |
download | tor-9746aed2baffeb3788552f8cdedc5611ab2f91b7.tar.gz tor-9746aed2baffeb3788552f8cdedc5611ab2f91b7.zip |
Another automated rename.
Also simplify crypto_common_digests() to have no loop.
Diffstat (limited to 'src/test/test_crypto.c')
-rw-r--r-- | src/test/test_crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_crypto.c b/src/test/test_crypto.c index 5ac20b90c9..14f1ecca62 100644 --- a/src/test/test_crypto.c +++ b/src/test/test_crypto.c @@ -1098,7 +1098,7 @@ test_crypto_digests(void *arg) tt_mem_op(hex_str(digest, DIGEST_LEN),OP_EQ, AUTHORITY_SIGNKEY_A_DIGEST, HEX_DIGEST_LEN); - r = crypto_pk_get_all_digests(k, &pkey_digests); + r = crypto_pk_get_common_digests(k, &pkey_digests); tt_mem_op(hex_str(pkey_digests.d[DIGEST_SHA1], DIGEST_LEN),OP_EQ, AUTHORITY_SIGNKEY_A_DIGEST, HEX_DIGEST_LEN); |