summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/hash.c
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2002-11-21 12:09:21 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2002-11-21 12:09:21 +0000
commit4151b6e6ff3d2d3dc5ea630990043cbb501fe553 (patch)
treefdb9831b36a4d6d65c7f06e958edbac3521c8ba7 /sbin/isakmpd/hash.c
parent111e8cf96598d26e13d29b6ed645cd75258191d4 (diff)
-Wshadow nits.
Diffstat (limited to 'sbin/isakmpd/hash.c')
-rw-r--r--sbin/isakmpd/hash.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/isakmpd/hash.c b/sbin/isakmpd/hash.c
index 24d672bfb20..68474e2629c 100644
--- a/sbin/isakmpd/hash.c
+++ b/sbin/isakmpd/hash.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hash.c,v 1.11 2002/11/21 09:40:34 ho Exp $ */
+/* $OpenBSD: hash.c,v 1.12 2002/11/21 12:09:20 ho Exp $ */
/* $EOM: hash.c,v 1.10 1999/04/17 23:20:34 niklas Exp $ */
/*
@@ -139,9 +139,9 @@ hmac_init (struct hash *hash, unsigned char *okey, unsigned int len)
*/
void
-hmac_final (unsigned char *digest, struct hash *hash)
+hmac_final (unsigned char *dgst, struct hash *hash)
{
- hash->Final (digest, hash->ctx);
- hash->Update (hash->ctx2, digest, hash->hashsize);
- hash->Final (digest, hash->ctx2);
+ hash->Final (dgst, hash->ctx);
+ hash->Update (hash->ctx2, dgst, hash->hashsize);
+ hash->Final (dgst, hash->ctx2);
}