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 34464659a..fabc3ed66 100644
--- a/mac.c
+++ b/mac.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: mac.c,v 1.14 2007/06/07 19:37:34 pvalchev Exp $ */ 1/* $OpenBSD: mac.c,v 1.15 2008/06/13 00:51:47 dtucker Exp $ */
2/* 2/*
3 * Copyright (c) 2001 Markus Friedl. All rights reserved. 3 * Copyright (c) 2001 Markus Friedl. All rights reserved.
4 * 4 *
@@ -128,7 +128,7 @@ mac_compute(Mac *mac, u_int32_t seqno, u_char *data, int datalen)
128 128
129 if (mac->mac_len > sizeof(m)) 129 if (mac->mac_len > sizeof(m))
130 fatal("mac_compute: mac too long %u %lu", 130 fatal("mac_compute: mac too long %u %lu",
131 mac->mac_len, sizeof(m)); 131 mac->mac_len, (u_long)sizeof(m));
132 132
133 switch (mac->type) { 133 switch (mac->type) {
134 case SSH_EVP: 134 case SSH_EVP: