summaryrefslogtreecommitdiffstats
path: root/engines/e_cswift.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2008-11-01 17:40:37 +0100
committerBen Laurie <ben@openssl.org>2008-11-01 17:40:37 +0100
commit5e4430e70df0020f5f1517249851696cb9ac4ad2 (patch)
tree95dcbc73bcd99b725664324db882b4a388d0d4cb /engines/e_cswift.c
parentsize_tification. (diff)
downloadopenssl-5e4430e70df0020f5f1517249851696cb9ac4ad2.tar.xz
openssl-5e4430e70df0020f5f1517249851696cb9ac4ad2.zip
More size_tification.
Diffstat (limited to 'engines/e_cswift.c')
-rw-r--r--engines/e_cswift.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/e_cswift.c b/engines/e_cswift.c
index bc65179846..80d7894eba 100644
--- a/engines/e_cswift.c
+++ b/engines/e_cswift.c
@@ -141,7 +141,7 @@ static int cswift_mod_exp_dh(const DH *dh, BIGNUM *r,
#endif
/* RAND stuff */
-static int cswift_rand_bytes(unsigned char *buf, int num);
+static int cswift_rand_bytes(unsigned char *buf, size_t num);
static int cswift_rand_status(void);
/* The definitions for control commands specific to this engine */
@@ -1040,7 +1040,7 @@ static int cswift_mod_exp_dh(const DH *dh, BIGNUM *r,
#endif
/* Random bytes are good */
-static int cswift_rand_bytes(unsigned char *buf, int num)
+static int cswift_rand_bytes(unsigned char *buf, size_t num)
{
SW_CONTEXT_HANDLE hac;
SW_STATUS swrc;