diff options
author | sam <sam@FreeBSD.org> | 2007-07-11 15:48:36 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2007-07-11 15:48:36 +0000 |
commit | 35aef052ff21baa52c4cec68b512986c21f70a48 (patch) | |
tree | c3da7f33886a852f7dceb74373fbdeec49a48f77 /contrib/wpa_supplicant/rc4.c | |
parent | 840099f34d8de1ca769f02fae379c4d8e5d6688a (diff) | |
download | FreeBSD-src-35aef052ff21baa52c4cec68b512986c21f70a48.zip FreeBSD-src-35aef052ff21baa52c4cec68b512986c21f70a48.tar.gz |
Import of WPA supplicant 0.5.8
Diffstat (limited to 'contrib/wpa_supplicant/rc4.c')
-rw-r--r-- | contrib/wpa_supplicant/rc4.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/wpa_supplicant/rc4.c b/contrib/wpa_supplicant/rc4.c index 4cf14d9..8480cc5 100644 --- a/contrib/wpa_supplicant/rc4.c +++ b/contrib/wpa_supplicant/rc4.c @@ -1,6 +1,6 @@ /* * RC4 stream cipher - * Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.fi> + * Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -12,7 +12,8 @@ * See README and COPYING for more details. */ -#include <stdio.h> +#include "includes.h" + #include "common.h" #include "rc4.h" @@ -35,7 +36,7 @@ void rc4_skip(const u8 *key, size_t keylen, size_t skip, { u32 i, j, k; u8 S[256], *pos; - int kpos; + size_t kpos; /* Setup RC4 state */ for (i = 0; i < 256; i++) |