aboutsummaryrefslogtreecommitdiff
path: root/tests/test-rpc_bighash.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-10-25 01:01:30 -0400
committerRob Austein <sra@hactrn.net>2016-10-25 01:01:30 -0400
commitdca4161990a2f9286c9400d014645c2ae69a3369 (patch)
treeba87f2f9cf86ea9080b80559af4aab8b12eb3aca /tests/test-rpc_bighash.c
parent41bc63d2ee629610de41c793e1eb00e1571d38d4 (diff)
Uppercase HAL_DIGEST_ALGORITHM_ symbols for API consistency.
Diffstat (limited to 'tests/test-rpc_bighash.c')
-rw-r--r--tests/test-rpc_bighash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-rpc_bighash.c b/tests/test-rpc_bighash.c
index e18d9b0..823baf6 100644
--- a/tests/test-rpc_bighash.c
+++ b/tests/test-rpc_bighash.c
@@ -108,7 +108,7 @@ int main (int argc, char *argv[])
expected = NULL;
check(hal_rpc_client_init());
- check(hal_rpc_hash_initialize(client, session, &hash, hal_digest_algorithm_sha256, NULL, 0));
+ check(hal_rpc_hash_initialize(client, session, &hash, HAL_DIGEST_ALGORITHM_SHA256, NULL, 0));
for (int i = 0; i < iterations; ++i) {
check(hal_rpc_hash_update(hash, block, sizeof(block)));