diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2008-09-06 22:23:22 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2008-09-06 22:23:22 +0000 |
commit | 75d891f82396fa10292e82f1a4ce69cef2360761 (patch) | |
tree | 2437ba02f7be4e77a040afbb23a4adfdd653b4ed /sys/crypto/hmac.h | |
parent | 3963bcc1a4f62e323d92a8f8d75cf5dce429627d (diff) |
match libc sha2(3) API changes for kernel; ok millert@
Diffstat (limited to 'sys/crypto/hmac.h')
-rw-r--r-- | sys/crypto/hmac.h | 4 |
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; |