summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2020-06-12 11:32:58 +0200
committerDaiki Ueno <ueno@gnu.org>2020-06-15 09:44:13 +0200
commitadf825e2b84cc40721692fa23f7e5a85a03441a7 (patch)
tree2a2ddee4e2a4f087371d584806fc9f71ff7bbabd /tests
parent1270e81b944e1672f89d8a8b1db986535cf5b072 (diff)
downloadgnutls-adf825e2b84cc40721692fa23f7e5a85a03441a7.tar.gz
build: avoid -Wenum-conversion warnings with GCC 10
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/slow/hash-large.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/slow/hash-large.c b/tests/slow/hash-large.c
index 33dc1df0da..71312ef369 100644
--- a/tests/slow/hash-large.c
+++ b/tests/slow/hash-large.c
@@ -139,7 +139,7 @@ void doit(void)
/* SHA1 */
err =
- gnutls_hash_fast(GNUTLS_MAC_SHA1, buf, size,
+ gnutls_hash_fast(GNUTLS_DIG_SHA1, buf, size,
digest);
if (err < 0)
fail("gnutls_hash_fast(SHA1) failed: %d\n", err);