summaryrefslogtreecommitdiff
path: root/mac.c
diff options
context:
space:
mode:
authordtucker <dtucker>2008-06-13 00:58:50 +0000
committerdtucker <dtucker>2008-06-13 00:58:50 +0000
commit8c86af6d3783f495af4f2cbaa67862ece5599f65 (patch)
tree7b4c6cdd864a11434616d9d30ddf149f745eb061 /mac.c
parent8a00e6da2c687b80b3992c91a8061332708d80fa (diff)
downloadopenssh-8c86af6d3783f495af4f2cbaa67862ece5599f65.tar.gz
- dtucker@cvs.openbsd.org 2008/06/13 00:51:47
[mac.c] upcast another size_t to u_long to match format
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 34464659..fabc3ed6 100644
--- a/mac.c
+++ b/mac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mac.c,v 1.14 2007/06/07 19:37:34 pvalchev Exp $ */
+/* $OpenBSD: mac.c,v 1.15 2008/06/13 00:51:47 dtucker Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
*
@@ -128,7 +128,7 @@ mac_compute(Mac *mac, u_int32_t seqno, u_char *data, int datalen)
if (mac->mac_len > sizeof(m))
fatal("mac_compute: mac too long %u %lu",
- mac->mac_len, sizeof(m));
+ mac->mac_len, (u_long)sizeof(m));
switch (mac->type) {
case SSH_EVP: