diff options
author | Richard Levitte <levitte@openssl.org> | 2002-10-06 00:23:28 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-10-06 00:23:28 +0000 |
commit | 69deec58fb6afb061ff8400ec74edb889402649c (patch) | |
tree | ba78e349eab0e8052120094451d593b8eabda3cf /crypto | |
parent | 1e976bdc469de6e733a4f0a5d8360315b4eaf47a (diff) |
Do not define crypt(). The supported function is DES_crypt() (an des_crypt()
when backward compatibility is desired).
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/des/des_old.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/des/des_old.h b/crypto/des/des_old.h index 51b987422a..1d8bf65101 100644 --- a/crypto/des/des_old.h +++ b/crypto/des/des_old.h @@ -173,10 +173,12 @@ typedef struct _ossl_old_des_ks_struct DES_fcrypt((b),(s),(r)) #define des_crypt(b,s)\ DES_crypt((b),(s)) +#if 0 #if !defined(PERL5) && !defined(__FreeBSD__) && !defined(NeXT) && !defined(__OpenBSD__) #define crypt(b,s)\ DES_crypt((b),(s)) #endif +#endif #define des_ofb_encrypt(i,o,n,l,k,iv)\ DES_ofb_encrypt((i),(o),(n),(l),&(k),(iv)) #define des_pcbc_encrypt(i,o,l,k,iv,e)\ @@ -274,8 +276,10 @@ typedef struct _ossl_old_des_ks_struct _ossl_old_des_fcrypt((b),(s),(r)) #define des_crypt(b,s)\ _ossl_old_des_crypt((b),(s)) +#if 0 #define crypt(b,s)\ _ossl_old_crypt((b),(s)) +#endif #define des_ofb_encrypt(i,o,n,l,k,iv)\ _ossl_old_des_ofb_encrypt((i),(o),(n),(l),(k),(iv)) #define des_pcbc_encrypt(i,o,l,k,iv,e)\ |