From d54d42eba4c10d23cd113701daf02ebf22e2347b Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Fri, 13 Aug 1999 03:44:35 +0000 Subject: [PATCH] always enable md5 crypt git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6808 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/des/fcrypt.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/des/fcrypt.c b/lib/des/fcrypt.c index cc390c3dc..629bada22 100644 --- a/lib/des/fcrypt.c +++ b/lib/des/fcrypt.c @@ -99,10 +99,14 @@ #define STATIC static #endif -/* It is really only FreeBSD that still suffers from MD5 based crypts */ -#ifdef __FreeBSD__ +/* It used to be Only FreeBSD that had MD5 based crypts, but now it's + * also the case on Redhat linux 6.0 and OpenBSD so we always include + * this code. That solves the problem of making the test program + * conditional as well. + */ + #define MD5_CRYPT_SUPPORT 1 -#endif + #if MD5_CRYPT_SUPPORT /* * ----------------------------------------------------------------------------