diff options
author | Ulf Möller <ulf@openssl.org> | 1999-06-08 18:35:11 +0200 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-06-08 18:35:11 +0200 |
commit | 908eb7b85aff18930cf4829395ab6d106351c873 (patch) | |
tree | 688f0c47880db712b9f22cdc598a9c4b08fecf70 /crypto/des/des.h | |
parent | Casts. (diff) | |
download | openssl-908eb7b85aff18930cf4829395ab6d106351c873.tar.xz openssl-908eb7b85aff18930cf4829395ab6d106351c873.zip |
Call our crypt implementation des_crypt(). crypt() now is a wrapper if
there is no system crypt() available.
Diffstat (limited to 'crypto/des/des.h')
-rw-r--r-- | crypto/des/des.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/crypto/des/des.h b/crypto/des/des.h index c2aae6595e..7c029e01ee 100644 --- a/crypto/des/des.h +++ b/crypto/des/des.h @@ -198,16 +198,9 @@ int des_enc_read(int fd,void *buf,int len,des_key_schedule sched, int des_enc_write(int fd,const void *buf,int len,des_key_schedule sched, des_cblock *iv); char *des_fcrypt(const char *buf,const char *salt, char *ret); -#if defined(PERL5) || defined(__FreeBSD__) char *des_crypt(const char *buf,const char *salt); -#else -/* some stupid compilers complain because I have declared char instead - * of const char */ -#ifdef HEADER_DES_LOCL_H +#if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT) char *crypt(const char *buf,const char *salt); -#else -char *crypt(); -#endif #endif void des_ofb_encrypt(const unsigned char *in,unsigned char *out,int numbits, long length,des_key_schedule schedule,des_cblock *ivec); |