summaryrefslogtreecommitdiff
path: root/crypto/bf
diff options
context:
space:
mode:
authorgeoff <geoff>2008-11-12 03:57:47 +0000
committergeoff <geoff>2008-11-12 03:57:47 +0000
commitf269db49479c8d716425dabce1e6a1282b5a2048 (patch)
tree666d483b34f0bf43752636031520f2bc5ff90010 /crypto/bf
parent3cf9e7951d15e65a6c3fb905b5d7164a1fcf9be4 (diff)
downloadopenssl-f269db49479c8d716425dabce1e6a1282b5a2048.tar.gz
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.
Diffstat (limited to 'crypto/bf')
-rw-r--r--crypto/bf/bf_skey.c2
-rw-r--r--crypto/bf/blowfish.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/crypto/bf/bf_skey.c b/crypto/bf/bf_skey.c
index d091a1ac8..3673cdee6 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 02db3244b..b97e76f9a 100644
--- a/crypto/bf/blowfish.h
+++ b/crypto/bf/blowfish.h
@@ -60,7 +60,6 @@
#define HEADER_BLOWFISH_H
#include <openssl/e_os2.h>
-#include <unistd.h>
#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);