X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.git;a=blobdiff_plain;f=libeap%2Fsrc%2Fcrypto%2Faes-eax.c;fp=libeap%2Fsrc%2Fcrypto%2Faes-eax.c;h=15a09f8b461a4e7cddee26f64e43dbf1e0584646;hp=d5c397151d2e247708962c78d9184f4f7962d993;hb=f3746d009c6d7f50025af1f58a85e5fee9680be6;hpb=244f18d04aaf29e68495b5ffeb40ef5cca50942f diff --git a/libeap/src/crypto/aes-eax.c b/libeap/src/crypto/aes-eax.c index d5c3971..15a09f8 100644 --- a/libeap/src/crypto/aes-eax.c +++ b/libeap/src/crypto/aes-eax.c @@ -3,14 +3,8 @@ * * Copyright (c) 2003-2007, 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. */ #include "includes.h" @@ -77,7 +71,7 @@ int aes_128_eax_encrypt(const u8 *key, const u8 *nonce, size_t nonce_len, ret = 0; fail: - os_free(buf); + bin_clear_free(buf, buf_len); return ret; }