summaryrefslogtreecommitdiff
path: root/mac.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2014-01-10 10:37:05 +1100
committerDamien Miller <djm@mindrot.org>2014-01-10 10:37:05 +1100
commit3e49853650448883685cfa32fa382d0ba6d51d48 (patch)
treecc8125afc2ef7cf2ce3098e661b2eaba06c7367d /mac.c
parenta9c1e500ef609795cbc662848edb1a1dca279c81 (diff)
- tedu@cvs.openbsd.org 2014/01/04 17:50:55
[mac.c monitor_mm.c monitor_mm.h xmalloc.c] use standard types and formats for size_t like variables. ok dtucker
Diffstat (limited to 'mac.c')
-rw-r--r--mac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mac.c b/mac.c
index c71b6a741..d3a0b935f 100644
--- a/mac.c
+++ b/mac.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: mac.c,v 1.25 2013/11/07 11:58:27 dtucker Exp $ */ 1/* $OpenBSD: mac.c,v 1.26 2014/01/04 17:50:55 tedu Exp $ */
2/* 2/*
3 * Copyright (c) 2001 Markus Friedl. All rights reserved. 3 * Copyright (c) 2001 Markus Friedl. All rights reserved.
4 * 4 *
@@ -181,8 +181,8 @@ mac_compute(Mac *mac, u_int32_t seqno, u_char *data, int datalen)
181 u_char b[4], nonce[8]; 181 u_char b[4], nonce[8];
182 182
183 if (mac->mac_len > sizeof(u)) 183 if (mac->mac_len > sizeof(u))
184 fatal("mac_compute: mac too long %u %lu", 184 fatal("mac_compute: mac too long %u %zu",
185 mac->mac_len, (u_long)sizeof(u)); 185 mac->mac_len, sizeof(u));
186 186
187 switch (mac->type) { 187 switch (mac->type) {
188 case SSH_EVP: 188 case SSH_EVP: