mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Change USE_CRYPT to HAVE_CRYPT
SVN revision: 361
This commit is contained in:
parent
fbf9de97a9
commit
048c7faa66
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.2 2003/01/30 14:52:41 midas
|
||||||
|
Change USE_CRYPT to HAVE_CRYPT
|
||||||
|
|
||||||
Revision 1.1 2003/01/30 14:45:08 midas
|
Revision 1.1 2003/01/30 14:45:08 midas
|
||||||
Moved files to src/ subdirectory
|
Moved files to src/ subdirectory
|
||||||
|
|
||||||
@ -1051,7 +1054,7 @@ unsigned int t, pad;
|
|||||||
|
|
||||||
void do_crypt(char *s, char *d)
|
void do_crypt(char *s, char *d)
|
||||||
{
|
{
|
||||||
#ifdef USE_CRYPT
|
#ifdef HAVE_CRYPT
|
||||||
strcpy(d, crypt(s, "el"));
|
strcpy(d, crypt(s, "el"));
|
||||||
#else
|
#else
|
||||||
base64_encode(s, d);
|
base64_encode(s, d);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user