diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-06 19:48:16 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-06 19:48:16 +0000 |
commit | 6a2464136520a36be29fc64ebcf39ab59a599fad (patch) | |
tree | 078077246a8a8b24b8c19f63b45b687afb5b3378 /mac.c | |
parent | fb62a6948834281fd5628e5566f17c1767a17763 (diff) |
- markus@cvs.openbsd.org 2002/05/16 22:02:50
[cipher.c kex.h mac.c]
fix warnings (openssl 0.9.7 requires const)
Diffstat (limited to 'mac.c')
-rw-r--r-- | mac.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: mac.c,v 1.4 2002/01/25 22:07:40 markus Exp $"); | 26 | RCSID("$OpenBSD: mac.c,v 1.5 2002/05/16 22:02:50 markus Exp $"); |
27 | 27 | ||
28 | #include <openssl/hmac.h> | 28 | #include <openssl/hmac.h> |
29 | 29 | ||
@@ -36,7 +36,7 @@ RCSID("$OpenBSD: mac.c,v 1.4 2002/01/25 22:07:40 markus Exp $"); | |||
36 | 36 | ||
37 | struct { | 37 | struct { |
38 | char *name; | 38 | char *name; |
39 | EVP_MD * (*mdfunc)(void); | 39 | const EVP_MD * (*mdfunc)(void); |
40 | int truncatebits; /* truncate digest if != 0 */ | 40 | int truncatebits; /* truncate digest if != 0 */ |
41 | } macs[] = { | 41 | } macs[] = { |
42 | { "hmac-sha1", EVP_sha1, 0, }, | 42 | { "hmac-sha1", EVP_sha1, 0, }, |