X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=libeap%2Fsrc%2Feap_common%2Feap_peap_common.h;h=069450e05d3d452d280054212153de9956fc0001;hb=4f319dde67a76fe0aaf33f6d2788968012584ada;hp=b67de7ef0c84b5e280f28a07cd7a8b42049a286f;hpb=32c7cb5841cb87eb434b1a802f0032b2b71c7d17;p=mech_eap.git diff --git a/libeap/src/eap_common/eap_peap_common.h b/libeap/src/eap_common/eap_peap_common.h index b67de7e..069450e 100644 --- a/libeap/src/eap_common/eap_peap_common.h +++ b/libeap/src/eap_common/eap_peap_common.h @@ -1,15 +1,9 @@ /* * EAP-PEAP common routines - * Copyright (c) 2008, Jouni Malinen + * Copyright (c) 2008-2011, Jouni Malinen * - * 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 - * published by the Free Software Foundation. - * - * Alternatively, this software may be distributed under the terms of BSD - * license. - * - * See README and COPYING for more details. + * This software may be distributed under the terms of the BSD license. + * See README for more details. */ #ifndef EAP_PEAP_COMMON_H @@ -19,9 +13,9 @@ extern "C" { #endif -void peap_prfplus(int version, const u8 *key, size_t key_len, - const char *label, const u8 *seed, size_t seed_len, - u8 *buf, size_t buf_len); +int peap_prfplus(int version, const u8 *key, size_t key_len, + const char *label, const u8 *seed, size_t seed_len, + u8 *buf, size_t buf_len); #ifdef __cplusplus }