summaryrefslogtreecommitdiffstats
path: root/crypto/des/cfb_enc.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2001-07-30 19:46:22 +0200
committerBen Laurie <ben@openssl.org>2001-07-30 19:46:22 +0200
commit3ba5d1cf2eb6ef28ac5f6d9f3d28020d00c5be50 (patch)
tree73d3b6e7e2ee0ce832943a1e080501b8a96c40d6 /crypto/des/cfb_enc.c
parentOnly set the verify callback if there's one to set! (diff)
downloadopenssl-3ba5d1cf2eb6ef28ac5f6d9f3d28020d00c5be50.tar.xz
openssl-3ba5d1cf2eb6ef28ac5f6d9f3d28020d00c5be50.zip
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/cfb_enc.c')
-rw-r--r--crypto/des/cfb_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/des/cfb_enc.c b/crypto/des/cfb_enc.c
index ec4fd4ea67..4af6f7fbf8 100644
--- a/crypto/des/cfb_enc.c
+++ b/crypto/des/cfb_enc.c
@@ -65,7 +65,7 @@
* byte.
*/
void des_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits,
- long length, des_key_schedule schedule, des_cblock *ivec, int enc)
+ long length, des_key_schedule *schedule, des_cblock *ivec, int enc)
{
register DES_LONG d0,d1,v0,v1,n=(numbits+7)/8;
register DES_LONG mask0,mask1;