diff options
author | Richard Levitte <levitte@openssl.org> | 2001-03-29 07:45:37 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2001-03-29 07:45:37 +0000 |
commit | 080b8cadfa9a9c7655fb0dbd5e432b09d708ab3b (patch) | |
tree | d233e346f517c1eedaa0066c31380b8d225e0c07 /crypto/des/ecb_enc.c | |
parent | 7cdd2aa128811724497b98d20dd06a2efca9c266 (diff) | |
download | openssl-080b8cadfa9a9c7655fb0dbd5e432b09d708ab3b.tar.gz |
Since there has been reports of clashes between OpenSSL's
des_encrypt() and des_encrypt() defined on some systems (Solaris and
Unixware and maybe others), we rename des_encrypt() to des_encrypt1().
This should have very little impact on external software unless
someone has written a mode of DES, since that's all des_encrypt() is
meant for.
Diffstat (limited to 'crypto/des/ecb_enc.c')
-rw-r--r-- | crypto/des/ecb_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/des/ecb_enc.c b/crypto/des/ecb_enc.c index b261a8aad9..d481327ef3 100644 --- a/crypto/des/ecb_enc.c +++ b/crypto/des/ecb_enc.c @@ -114,7 +114,7 @@ void des_ecb_encrypt(const_des_cblock *input, des_cblock *output, c2l(in,l); ll[0]=l; c2l(in,l); ll[1]=l; - des_encrypt(ll,ks,enc); + des_encrypt1(ll,ks,enc); l=ll[0]; l2c(l,out); l=ll[1]; l2c(l,out); l=ll[0]=ll[1]=0; |