aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/des/des_enc.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-06-08 15:52:47 +0000
committerUlf Möller <ulf@openssl.org>1999-06-08 15:52:47 +0000
commit93fd0fd61fee2f0499625cde8237db58ca7a35c6 (patch)
tree2d187b180393bbaef301caff8b9bbc8468064c78 /crypto/des/des_enc.c
parentbebf2787eaf121b6a4522fc8e072c740f0e4804e (diff)
downloadopenssl-93fd0fd61fee2f0499625cde8237db58ca7a35c6.tar.gz
Don't #define _, and eliminate casts.
Diffstat (limited to 'crypto/des/des_enc.c')
-rw-r--r--crypto/des/des_enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/des/des_enc.c b/crypto/des/des_enc.c
index 3a30e64e56..f47d2a02da 100644
--- a/crypto/des/des_enc.c
+++ b/crypto/des/des_enc.c
@@ -84,7 +84,7 @@ void des_encrypt(DES_LONG *data, des_key_schedule ks, int enc)
r=ROTATE(r,29)&0xffffffffL;
l=ROTATE(l,29)&0xffffffffL;
- s=(DES_LONG *)ks;
+ s=ks->ks.deslong;
/* I don't know if it is worth the effort of loop unrolling the
* inner loop */
if (enc)
@@ -180,7 +180,7 @@ void des_encrypt2(DES_LONG *data, des_key_schedule ks, int enc)
r=ROTATE(r,29)&0xffffffffL;
l=ROTATE(l,29)&0xffffffffL;
- s=(DES_LONG *)ks;
+ s=ks->ks.deslong;
/* I don't know if it is worth the effort of loop unrolling the
* inner loop */
if (enc)