From 4ace4afbd19e849a82971140e56f3f22f6d8a7c6 Mon Sep 17 00:00:00 2001 From: Steve Hay Date: Thu, 14 Aug 2003 16:39:16 +0100 Subject: Include fcrypt.c for crypt() on Windows Message-ID: <3F3B9F14.4040609@uk.radan.com> (Sarathy okayed the idea.) p4raw-id: //depot/perl@20702 --- README.win32 | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) (limited to 'README.win32') diff --git a/README.win32 b/README.win32 index 219a09622d..d0a878bb54 100644 --- a/README.win32 +++ b/README.win32 @@ -220,27 +220,12 @@ may not be correct for some versions. Make sure the default exists and is valid. If you have either the source or a library that contains des_fcrypt(), -enable the appropriate option in the makefile. des_fcrypt() is not -bundled with the distribution due to US Government restrictions -on the export of cryptographic software. Nevertheless, this routine -is part of the "libdes" library (written by Eric Young) which is widely -available worldwide, usually along with SSLeay ( for example, -ftp://ftp.funet.fi/pub/crypt/mirrors/dsi/libdes/ ). Set CRYPT_SRC to the -name of the file that implements des_fcrypt(). Alternatively, if -you have built a library that contains des_fcrypt(), you can set -CRYPT_LIB to point to the library name. The location above contains -many versions of the "libdes" library, all with slightly different -implementations of des_fcrypt(). Older versions have a single, -self-contained file (fcrypt.c) that implements crypt(), so they may be -easier to use. A patch against the fcrypt.c found in libdes-3.06 is -in des_fcrypt.patch. - -An easier alternative may be to get the pre-patched and ready-to-use -fcrypt.c that can be found here: - - http://downloads.ActiveState.com/pub/staff/gsar/fcrypt.c - ftp://ftp.ActiveState.com/pub/staff/gsar/fcrypt.c - +enable the appropriate option in the makefile. A ready-to-use version +of fcrypt.c, based on the version originally written by Eric Young at +ftp://ftp.funet.fi/pub/crypt/mirrors/dsi/libdes/, is bundled with the +distribution. Set CRYPT_SRC to fcrypt.c to use this version. +Alternatively, if you have built a library that contains des_fcrypt(), +you can set CRYPT_LIB to point to the library name. Perl will also build without des_fcrypt(), but the crypt() builtin will fail at run time. -- cgit v1.2.1