diff options
author | Ulf Möller <ulf@openssl.org> | 1999-06-08 20:35:11 +0400 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-06-08 20:35:11 +0400 |
commit | 908eb7b85aff18930cf4829395ab6d106351c873 (patch) | |
tree | 688f0c47880db712b9f22cdc598a9c4b08fecf70 /crypto/des/fcrypt.c | |
parent | bf0870ac736c7ea12125e8b7cff7f66b38b075e9 (diff) |
Call our crypt implementation des_crypt(). crypt() now is a wrapper if
there is no system crypt() available.
Diffstat (limited to 'crypto/des/fcrypt.c')
-rw-r--r-- | crypto/des/fcrypt.c | 14 |
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]; |