diff options
Diffstat (limited to 'mac.c')
-rw-r--r-- | mac.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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: |