--- Richard Levitte - VMS Whacker <[EMAIL PROTECTED]> wrote:
> BTW, I'm assuming that you wouldn't complain about the removal of
> crypt().  I can see your complaint about other things, but nothing
> that answered my specific question.

I assume it is this bit in des_old.h which you are referring to when
talking about removing the crypt() macro:

#if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT) &&
!defined(__OpenBSD__)
#define crypt(b,s)\
        DES_crypt((b),(s))
#endif

In my app, those lines cause problems with the two following lines
(304-305) from Perl/lib/CORE/win32iop.h, which was included before
des.h (via EXTERN.h/perl.h/XSUB.h for embedded perl) :

#undef crypt
#define crypt(t,s)              win32_crypt(t,s)

I'm using VC++ on Win2K with ActiveSate's ActivePerl 5.6.1 build 631,
so __FreeBSD__, NeXT & __OpenBSD__ are not defined, and from searching
through all the headers in Perl/lib/CORE the closest to a define of
PERL5 is _INC_WIN32_PERL5 (just your standard #ifndef wrapper to make
sure a .h file doens't get included more than once).

This problem doesn't appear if I define OPENSSL_DISABLE_OLD_DES_SUPPORT.

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to