diff options
Diffstat (limited to 'contrib/hostapd/eap_ttls.h')
-rw-r--r-- | contrib/hostapd/eap_ttls.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/hostapd/eap_ttls.h b/contrib/hostapd/eap_ttls.h index f35f5a905997..e0b2cbf45488 100644 --- a/contrib/hostapd/eap_ttls.h +++ b/contrib/hostapd/eap_ttls.h @@ -1,6 +1,6 @@ /* - * WPA Supplicant / EAP-TTLS (draft-ietf-pppext-eap-ttls-03.txt) - * Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi> + * EAP server/peer: EAP-TTLS (draft-ietf-pppext-eap-ttls-03.txt) + * Copyright (c) 2004-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 @@ -36,11 +36,11 @@ struct ttls_avp_vendor { #define AVP_PAD(start, pos) \ do { \ - int pad; \ - pad = (4 - (((pos) - (start)) & 3)) & 3; \ - memset((pos), 0, pad); \ - pos += pad; \ -} while(0) + int __pad; \ + __pad = (4 - (((pos) - (start)) & 3)) & 3; \ + os_memset((pos), 0, __pad); \ + pos += __pad; \ +} while (0) /* RFC 2865 */ |