diff options
Diffstat (limited to 'mac.c')
-rw-r--r-- | mac.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: mac.c,v 1.28 2014/02/07 06:55:54 djm Exp $ */ | 1 | /* $OpenBSD: mac.c,v 1.30 2014/04/30 19:07:48 naddy Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -175,7 +175,8 @@ mac_compute(Mac *mac, u_int32_t seqno, u_char *data, int datalen) | |||
175 | u_char m[EVP_MAX_MD_SIZE]; | 175 | u_char m[EVP_MAX_MD_SIZE]; |
176 | u_int64_t for_align; | 176 | u_int64_t for_align; |
177 | } u; | 177 | } u; |
178 | u_char b[4], nonce[8]; | 178 | u_char b[4]; |
179 | u_char nonce[8]; | ||
179 | 180 | ||
180 | if (mac->mac_len > sizeof(u)) | 181 | if (mac->mac_len > sizeof(u)) |
181 | fatal("mac_compute: mac too long %u %zu", | 182 | fatal("mac_compute: mac too long %u %zu", |