summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-09-28 19:58:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-09-28 19:58:19 +0000
commit68e1384c87c6264544ffca6394cdb172d13acde7 (patch)
tree46783489929bd5de96cbbd94fe0716523b08eb5f
parente510fc7a90d796b18344ab57d7ec182c68ba9193 (diff)
do not put a bad crypt() in libcrypt, it is in libc
-rw-r--r--lib/libcrypto/des/fcrypt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/des/fcrypt.c b/lib/libcrypto/des/fcrypt.c
index 129beb27da7..f36746b3764 100644
--- a/lib/libcrypto/des/fcrypt.c
+++ b/lib/libcrypto/des/fcrypt.c
@@ -55,7 +55,7 @@ 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)
+#if defined(PERL5) || defined(FreeBSD) || defined(__OpenBSD__)
char *des_crypt(const char *buf,const char *salt);
#else
char *crypt(const char *buf,const char *salt);
@@ -69,7 +69,7 @@ char *crypt();
#endif
#endif
-#if defined(PERL5) || defined(FreeBSD)
+#if defined(PERL5) || defined(FreeBSD) || defined(__OpenBSD__)
char *des_crypt(buf,salt)
#else
char *crypt(buf,salt)