diff options
author | 2014-01-04 17:50:55 +0000 | |
---|---|---|
committer | 2014-01-04 17:50:55 +0000 | |
commit | f71627ffe0dd05f2b358398691b7fa0aad8b8deb (patch) | |
tree | 5203e32bb97e23f884c86be12c69a2706310206d /usr.bin/ssh/mac.c | |
parent | to do: this is a fatal error, we want a decent error message (diff) | |
download | wireguard-openbsd-f71627ffe0dd05f2b358398691b7fa0aad8b8deb.tar.xz wireguard-openbsd-f71627ffe0dd05f2b358398691b7fa0aad8b8deb.zip |
use standard types and formats for size_t like variables. ok dtucker
Diffstat (limited to 'usr.bin/ssh/mac.c')
-rw-r--r-- | usr.bin/ssh/mac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/mac.c b/usr.bin/ssh/mac.c index 63cd09b07aa..b2bdb193848 100644 --- a/usr.bin/ssh/mac.c +++ b/usr.bin/ssh/mac.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mac.c,v 1.25 2013/11/07 11:58:27 dtucker Exp $ */ +/* $OpenBSD: mac.c,v 1.26 2014/01/04 17:50:55 tedu Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. * @@ -172,8 +172,8 @@ mac_compute(Mac *mac, u_int32_t seqno, u_char *data, int datalen) u_char b[4], nonce[8]; if (mac->mac_len > sizeof(u)) - fatal("mac_compute: mac too long %u %lu", - mac->mac_len, (u_long)sizeof(u)); + fatal("mac_compute: mac too long %u %zu", + mac->mac_len, sizeof(u)); switch (mac->type) { case SSH_EVP: |