Another automated rename.

Also simplify crypto_common_digests() to have no loop.
This commit is contained in:
Nick Mathewson
2016-02-10 15:31:43 -05:00
parent 8a4bba06d2
commit 9746aed2ba
4 changed files with 7 additions and 22 deletions
+1 -1
View File
@@ -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);