X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fircd_crypt_native.c;h=c6b1c585d9abc45e0c086486db3904aeb01e261d;hb=a36ad5e29241b0c89379947b13887cb6930ef3e0;hp=1b1037c6e2f2abc930c4056f015c327e8404da64;hpb=e0a020efc1a38766bbb8d53ef8cf766cbb1c41c2;p=ircu2.10.12-pk.git diff --git a/ircd/ircd_crypt_native.c b/ircd/ircd_crypt_native.c index 1b1037c..c6b1c58 100644 --- a/ircd/ircd_crypt_native.c +++ b/ircd/ircd_crypt_native.c @@ -22,19 +22,19 @@ * @version $Id$ * * Routines for handling passwords encrypted with the system's native crypt() - * function (typicaly a DES encryption routine, but can be anything nowdays). + * function (typically a DES encryption routine, but can be anything nowadays). * */ -#define _XOPEN_SOURCE -#define _XOPEN_VERSION 4 +#define _XOPEN_SOURCE 500 #include "config.h" #include "ircd_crypt.h" #include "ircd_crypt_native.h" +#include "ircd_log.h" #include "s_debug.h" #include "ircd_alloc.h" -#include +/* #include -- Now using assert in ircd_log.h */ #include #ifdef HAVE_CRYPT_H #include @@ -43,7 +43,7 @@ /** Simple routine that just calls crypt() with the supplied password and salt * @param key The password we're encrypting. * @param salt The salt we're using to encrypt key - * @reutrn The encrypted password. + * @return The encrypted password. * * Well this bit is (kinda) intact from the original oper password routines :) * It's a very simple wrapper routine that just calls crypt and returns the