--- cracklib,2.7/cracklib/fascist.c.rh Wed Dec 31 05:26:46 1997 +++ cracklib,2.7/cracklib/fascist.c Tue Mar 10 18:17:43 1998 @@ -11,6 +11,7 @@ #include "packer.h" #include #include +#include #define ISSKIP(x) (isspace(x) || ispunct(x)) @@ -659,7 +660,7 @@ return ("it does not contain enough DIFFERENT characters"); } - strcpy(password, Lowercase(password)); + strcpy(password, (char *)Lowercase(password)); Trim(password); @@ -722,7 +723,7 @@ } } - strcpy(password, Reverse(password)); + strcpy(password, (char *)Reverse(password)); for (i = 0; r_destructors[i]; i++) { --- cracklib,2.7/cracklib/crack.h.rh Tue Mar 10 18:17:43 1998 +++ cracklib,2.7/cracklib/crack.h Tue Mar 10 18:17:43 1998 @@ -0,0 +1,15 @@ + +#ifndef CRACKLIB_H +#define CRACKLIB_H + +/* Pass this function a password (pw) and a path to the + * dictionaries (/usr/lib/cracklib_dict should be specified) + * and it will either return a NULL string, meaning that the + * password is good, or a pointer to a string that explains the + * problem with the password. + * You must link with -lcrack + */ + +extern char *FascistCheck(char *pw, char *dictpath); + +#endif