aboutsummaryrefslogtreecommitdiff
path: root/crypto/des/fcrypt_b.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2001-07-30 17:46:22 +0000
committerBen Laurie <ben@openssl.org>2001-07-30 17:46:22 +0000
commit3ba5d1cf2eb6ef28ac5f6d9f3d28020d00c5be50 (patch)
tree73d3b6e7e2ee0ce832943a1e080501b8a96c40d6 /crypto/des/fcrypt_b.c
parentbe2e2c32972e421ecc78bb79b502cb9d76d0c391 (diff)
downloadopenssl-3ba5d1cf2eb6ef28ac5f6d9f3d28020d00c5be50.zip
openssl-3ba5d1cf2eb6ef28ac5f6d9f3d28020d00c5be50.tar.gz
openssl-3ba5d1cf2eb6ef28ac5f6d9f3d28020d00c5be50.tar.bz2
Make EVPs allocate context memory, thus making them extensible. Rationalise
DES's keyschedules. I know these two should be separate, and I'll back out the DES changes if they are deemed to be an error. Note that there is a memory leak lurking in SSL somewhere in this version.
Diffstat (limited to 'crypto/des/fcrypt_b.c')
-rw-r--r--crypto/des/fcrypt_b.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/des/fcrypt_b.c b/crypto/des/fcrypt_b.c
index 22c87f5..86253bd 100644
--- a/crypto/des/fcrypt_b.c
+++ b/crypto/des/fcrypt_b.c
@@ -77,8 +77,8 @@
#define HPERM_OP(a,t,n,m) ((t)=((((a)<<(16-(n)))^(a))&(m)),\
(a)=(a)^(t)^(t>>(16-(n))))\
-void fcrypt_body(DES_LONG *out, des_key_schedule ks, DES_LONG Eswap0,
- DES_LONG Eswap1)
+void fcrypt_body(DES_LONG *out, des_key_schedule *ks, DES_LONG Eswap0,
+ DES_LONG Eswap1)
{
register DES_LONG l,r,t,u;
#ifdef DES_PTR