summaryrefslogtreecommitdiff
path: root/mac.c
diff options
context:
space:
mode:
authormouring <mouring>2002-06-06 19:48:16 +0000
committermouring <mouring>2002-06-06 19:48:16 +0000
commitb59e5e6c1d42f3fd2e1f601eadd72174a4c42e5a (patch)
tree61ed052029e2a3f35f572af955a43c8773b27216 /mac.c
parenta37d8f8ed0fac21b5f2968936a327dce97010578 (diff)
downloadopenssh-b59e5e6c1d42f3fd2e1f601eadd72174a4c42e5a.tar.gz
- 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 b250af2a..ab9a03d8 100644
--- a/mac.c
+++ b/mac.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: mac.c,v 1.4 2002/01/25 22:07:40 markus Exp $");
+RCSID("$OpenBSD: mac.c,v 1.5 2002/05/16 22:02:50 markus Exp $");
#include <openssl/hmac.h>
@@ -36,7 +36,7 @@ RCSID("$OpenBSD: mac.c,v 1.4 2002/01/25 22:07:40 markus Exp $");
struct {
char *name;
- EVP_MD * (*mdfunc)(void);
+ const EVP_MD * (*mdfunc)(void);
int truncatebits; /* truncate digest if != 0 */
} macs[] = {
{ "hmac-sha1", EVP_sha1, 0, },