[X2serv-general] Re: [X2serv-cvs] CVS: x2/source commands.c,1.169,1.170
Brought to you by:
sirvulcan
From: Richard P. <R.A.Peters@Student.tue.nl> - 2002-04-11 08:15:15
|
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 |