RE: [X2serv-general] Re: [X2serv-cvs] CVS: x2/source commands.c,1.169,1.170
Brought to you by:
sirvulcan
From: Wolfram K. <qu...@sq...> - 2002-04-11 08:23:14
|
Argh. Shouldn't be a problem. Can you fire me the SHA-1 code? I was originally going to use SHA-1, but didn't have a clue on how to impliment it ): Thanks! - Wolfram `Daedalus' Knipp -----Original Message----- From: x2s...@li... [mailto:x2s...@li...]On Behalf Of Richard Peters Sent: Thursday, April 11, 2002 4:15 PM To: x2s...@li... Subject: [X2serv-general] Re: [X2serv-cvs] CVS: x2/source commands.c,1.169,1.170 I realise that I'm a bit late with this, but... JinX uses SHA password hashing. Is it easy to change X2 so that it uses SHA too? That would make converting from X2 to JinX much easier. Richard Peters Lysergine ----- Original Message ----- From: "Wolfram Knipp" <qua...@us...> To: <x2s...@li...> Sent: Thursday, April 11, 2002 8:10 AM Subject: [X2serv-cvs] CVS: x2/source commands.c,1.169,1.170 > Update of /cvsroot/x2serv/x2/source > In directory usw-pr-cvs1:/tmp/cvs-serv22949 > > Modified Files: > commands.c > Log Message: > Sorry, made an error in code. Just realized when I tried to compile. > > Index: commands.c > =================================================================== > RCS file: /cvsroot/x2serv/x2/source/commands.c,v > retrieving revision 1.169 > retrieving revision 1.170 > diff -C2 -r1.169 -r1.170 > *** commands.c 11 Apr 2002 06:59:03 -0000 1.169 > --- commands.c 11 Apr 2002 07:10:35 -0000 1.170 > *************** > *** 1272,1276 **** > strcpy(seed, "$1$92737837$"); > else > ! strcpy(seed, "x2); > if(strcmp(hptr->Pass, crypt(password, seed))) > { > --- 1272,1276 ---- > strcpy(seed, "$1$92737837$"); > else > ! strcpy(seed, "x2"); > if(strcmp(hptr->Pass, crypt(password, seed))) > { > *************** > *** 1361,1365 **** > strcpy(seed, "$1$92737837$"); > else > ! strcpy(seed, "x2); > if(strcmp(hptr->Pass, crypt(password, seed))) > { > --- 1361,1365 ---- > strcpy(seed, "$1$92737837$"); > else > ! strcpy(seed, "x2"); > if(strcmp(hptr->Pass, crypt(password, seed))) > { > > > _______________________________________________ > X2serv-cvs mailing list > X2s...@li... > https://lists.sourceforge.net/lists/listinfo/x2serv-cvs _______________________________________________ X2serv-general mailing list X2s...@li... https://lists.sourceforge.net/lists/listinfo/x2serv-general |