Do not define crypt() on OpenBSD. Notified by Bob Beck of OpenBSD.
authorRichard Levitte <levitte@openssl.org>
Sat, 29 Jun 2002 22:04:09 +0000 (22:04 +0000)
committerRichard Levitte <levitte@openssl.org>
Sat, 29 Jun 2002 22:04:09 +0000 (22:04 +0000)
crypto/des/des_old.h

index 04c78a1ce9ce85927ec717a8a6a8d941bafe568c..51b987422ad34be781fae64556b1abc368046037 100644 (file)
@@ -173,7 +173,7 @@ typedef struct _ossl_old_des_ks_struct
        DES_fcrypt((b),(s),(r))
 #define 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)\
        DES_crypt((b),(s))
 #endif