mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Another automated rename.
Also simplify crypto_common_digests() to have no loop.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user