Do not define crypt() on OpenBSD. Notified by Bob Beck of OpenBSD.

This commit is contained in:
Richard Levitte 2002-06-29 22:04:09 +00:00
parent cce9396dc9
commit 40c5cae24a

View file

@ -173,7 +173,7 @@ typedef struct _ossl_old_des_ks_struct
DES_fcrypt((b),(s),(r)) DES_fcrypt((b),(s),(r))
#define des_crypt(b,s)\ #define des_crypt(b,s)\
DES_crypt((b),(s)) DES_crypt((b),(s))
#if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT) #if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT) && !defined(__OpenBSD__)
#define crypt(b,s)\ #define crypt(b,s)\
DES_crypt((b),(s)) DES_crypt((b),(s))
#endif #endif