1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtlogin: don't use crypt(3) on openbsd

des support has been removed from crypt(3) on openbsd since version 5.8
This commit is contained in:
Pascal de Bruijn 2015-11-28 19:04:40 +01:00 committed by Jon Trulson
parent 1e2e373082
commit ced27aa1f6
3 changed files with 5 additions and 1 deletions

View file

@ -122,6 +122,8 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
# define HasBSDAuth YES
#endif
#define HasXdmAuth YES
/* OpenBSD 3.0 and later has getpeereid() */
#if OSMajorVersion >= 3
# define HasGetpeereid YES

View file

@ -242,6 +242,8 @@ INCLUDES = -I$(XPROJECTROOT)/include/freetype2
DEFINES = $(DTDEFINES) -DXDMCP -DSIA
#elif defined (LinuxArchitecture)
DEFINES = $(DTDEFINES) -DXDMCP
#elif defined (OpenBSDArchitecture)
DEFINES = $(DTDEFINES) -DXDMCP
#else
DEFINES = $(DTDEFINES) -D_NO_PROTO
#endif

View file

@ -124,7 +124,7 @@ extern int errno;
# define USE_CRYPT
# endif
# ifdef __OpenBSD__
# define USE_CRYPT
# define DONT_USE_DES
# endif
# ifdef sun
# define USE_CRYPT