summaryrefslogtreecommitdiffstats
path: root/crypto/des/fcrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/des/fcrypt.c')
-rw-r--r--crypto/des/fcrypt.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/crypto/des/fcrypt.c b/crypto/des/fcrypt.c
index 697167bd0a..b59855c724 100644
--- a/crypto/des/fcrypt.c
+++ b/crypto/des/fcrypt.c
@@ -62,16 +62,14 @@ static unsigned const char cov_2char[64]={
void fcrypt_body(DES_LONG *out,des_key_schedule ks,
DES_LONG Eswap0, DES_LONG Eswap1);
-#if defined(PERL5) || defined(__FreeBSD__)
-char *des_crypt(const char *buf,const char *salt);
-#else
-char *crypt(const char *buf,const char *salt);
-#endif
-#if defined(PERL5) || defined(__FreeBSD__)
-char *des_crypt(const char *buf, const char *salt)
-#else
+#if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT)
char *crypt(const char *buf, const char *salt)
+ {
+ return(des_crypt(buf, salt));
+ }
#endif
+
+char *des_crypt(const char *buf, const char *salt)
{
static char buff[14];