Don't use rad_assert in libeap, it's a server-only function.
[freeradius.git] / src / modules / rlm_eap / libeap / fips186prf.c
index a5a7e58..52abbae 100644 (file)
@@ -61,8 +61,6 @@
 #include <inttypes.h>
 #endif
 
-#include <rad_assert.h>
-
 #include "sha1.h"
 
 /*
@@ -104,7 +102,7 @@ void fips186_2prf(uint8_t mk[20], uint8_t finalkey[160])
        int j;
        onesixty xval, xkey, w_0, w_1, sum, one;
        uint8_t *f;
-       char zeros[64];
+       uint8_t zeros[64];
 
        /*
         * let XKEY := MK,
@@ -266,7 +264,15 @@ main(int argc, char *argv[])
 
 /*
  * $Log$
- * Revision 1.3  2004-02-26 19:04:30  aland
+ * Revision 1.3.2.1.2.1  2006-05-19 14:19:15  nbk
+ *     Don't use rad_assert in libeap, it's a server-only function.
+ *
+ * Revision 1.3.2.1  2005/08/24 14:37:52  nbk
+ *     Fix compilation warnings with gcc 4.0
+ *
+ *     Patch from Steven Simon <simon.s@apple.com>
+ *
+ * Revision 1.3  2004/02/26 19:04:30  aland
  *     perl -i -npe "s/[ \t]+$//g" `find src -name "*.[ch]" -print`
  *
  *     Whitespace changes only, from a fresh checkout.