summaryrefslogtreecommitdiff
path: root/mac.c
diff options
context:
space:
mode:
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, },