summaryrefslogtreecommitdiff
path: root/mac.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-06 19:48:16 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-06 19:48:16 +0000
commit6a2464136520a36be29fc64ebcf39ab59a599fad (patch)
tree078077246a8a8b24b8c19f63b45b687afb5b3378 /mac.c
parentfb62a6948834281fd5628e5566f17c1767a17763 (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mac.c b/mac.c
index b250af2aa..ab9a03d84 100644
--- a/mac.c
+++ b/mac.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: mac.c,v 1.4 2002/01/25 22:07:40 markus Exp $"); 26RCSID("$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
37struct { 37struct {
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, },