summaryrefslogtreecommitdiff
path: root/sys/crypto/hmac.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/crypto/hmac.h')
-rw-r--r--sys/crypto/hmac.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/crypto/hmac.h b/sys/crypto/hmac.h
index 677f9d4598b..99b1dd63b99 100644
--- a/sys/crypto/hmac.h
+++ b/sys/crypto/hmac.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hmac.h,v 1.1 2008/08/12 15:43:00 damien Exp $ */
+/* $OpenBSD: hmac.h,v 1.2 2008/09/06 22:23:20 djm Exp $ */
/*-
* Copyright (c) 2008 Damien Bergamini <damien.bergamini@free.fr>
@@ -32,7 +32,7 @@ typedef struct _HMAC_SHA1_CTX {
} HMAC_SHA1_CTX;
typedef struct _HMAC_SHA256_CTX {
- SHA256_CTX ctx;
+ SHA2_CTX ctx;
u_int8_t key[SHA256_BLOCK_LENGTH];
u_int key_len;
} HMAC_SHA256_CTX;