More size_tification.

This commit is contained in:
Ben Laurie
2008-11-01 16:40:37 +00:00
parent 4d6e1e4f29
commit 5e4430e70d
50 changed files with 222 additions and 209 deletions

View File

@@ -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;