diff options
author | Ben Laurie <ben@openssl.org> | 2001-07-30 17:46:22 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2001-07-30 17:46:22 +0000 |
commit | 3ba5d1cf2eb6ef28ac5f6d9f3d28020d00c5be50 (patch) | |
tree | 73d3b6e7e2ee0ce832943a1e080501b8a96c40d6 /crypto/des/ofb64ede.c | |
parent | be2e2c32972e421ecc78bb79b502cb9d76d0c391 (diff) | |
download | openssl-3ba5d1cf2eb6ef28ac5f6d9f3d28020d00c5be50.tar.gz |
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/ofb64ede.c')
-rw-r--r-- | crypto/des/ofb64ede.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crypto/des/ofb64ede.c b/crypto/des/ofb64ede.c index 6eafe908da..9f389f7c23 100644 --- a/crypto/des/ofb64ede.c +++ b/crypto/des/ofb64ede.c @@ -63,9 +63,10 @@ * 64bit block we have used is contained in *num; */ void des_ede3_ofb64_encrypt(register const unsigned char *in, - register unsigned char *out, long length, des_key_schedule k1, - des_key_schedule k2, des_key_schedule k3, des_cblock *ivec, - int *num) + register unsigned char *out, long length, + des_key_schedule *k1, des_key_schedule *k2, + des_key_schedule *k3, des_cblock *ivec, + int *num) { register DES_LONG v0,v1; register int n= *num; |