X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=libeap%2Ftests%2Ftest-md4.c;h=e3e63edf14a22d8eacfdae746becb267e69b8566;hb=4f319dde67a76fe0aaf33f6d2788968012584ada;hp=e390d0f53b32f82d24400b9db2166913431a50d1;hpb=d8f7e2ca1832320065405091d00e48368ef138a5;p=mech_eap.git diff --git a/libeap/tests/test-md4.c b/libeap/tests/test-md4.c index e390d0f..e3e63ed 100644 --- a/libeap/tests/test-md4.c +++ b/libeap/tests/test-md4.c @@ -2,14 +2,8 @@ * Test program for MD4 (test vectors from RFC 1320) * Copyright (c) 2006-2009, 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" @@ -67,7 +61,7 @@ int main(int argc, char *argv[]) size_t len[2]; int errors = 0; - for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) { + for (i = 0; i < ARRAY_SIZE(tests); i++) { printf("MD4 test case %d:", i); addr[0] = (u8 *) tests[i].data;