From 6343829a391df59e46e513c84b6264ee71ad9518 Mon Sep 17 00:00:00 2001 From: Geoff Thorpe Date: Wed, 12 Nov 2008 03:58:08 +0000 Subject: Revert the size_t modifications from HEAD that had led to more knock-on work than expected - they've been extracted into a patch series that can be completed elsewhere, or in a different branch, before merging back to HEAD. --- crypto/bf/bf_skey.c | 2 +- crypto/bf/blowfish.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'crypto/bf') diff --git a/crypto/bf/bf_skey.c b/crypto/bf/bf_skey.c index d091a1ac8d..3673cdee6e 100644 --- a/crypto/bf/bf_skey.c +++ b/crypto/bf/bf_skey.c @@ -62,7 +62,7 @@ #include "bf_locl.h" #include "bf_pi.h" -void BF_set_key(BF_KEY *key, size_t len, const unsigned char *data) +void BF_set_key(BF_KEY *key, int len, const unsigned char *data) { int i; BF_LONG *p,ri,in[2]; diff --git a/crypto/bf/blowfish.h b/crypto/bf/blowfish.h index 02db3244b2..b97e76f9a3 100644 --- a/crypto/bf/blowfish.h +++ b/crypto/bf/blowfish.h @@ -60,7 +60,6 @@ #define HEADER_BLOWFISH_H #include -#include #ifdef __cplusplus extern "C" { @@ -106,7 +105,7 @@ typedef struct bf_key_st } BF_KEY; -void BF_set_key(BF_KEY *key, size_t len, const unsigned char *data); +void BF_set_key(BF_KEY *key, int len, const unsigned char *data); void BF_encrypt(BF_LONG *data,const BF_KEY *key); void BF_decrypt(BF_LONG *data,const BF_KEY *key); -- cgit v1.2.3