diff options
author | Ben Laurie <ben@openssl.org> | 2008-11-01 16:40:37 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2008-11-01 16:40:37 +0000 |
commit | 5e4430e70df0020f5f1517249851696cb9ac4ad2 (patch) | |
tree | 95dcbc73bcd99b725664324db882b4a388d0d4cb /engines/e_chil.c | |
parent | 4d6e1e4f29de455b5e644ea9cae5d5f5a2dbef33 (diff) | |
download | openssl-5e4430e70df0020f5f1517249851696cb9ac4ad2.tar.gz |
More size_tification.
Diffstat (limited to 'engines/e_chil.c')
-rw-r--r-- | engines/e_chil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/e_chil.c b/engines/e_chil.c index 04f2a535de..188cc8be1f 100644 --- a/engines/e_chil.c +++ b/engines/e_chil.c @@ -127,7 +127,7 @@ static int hwcrhk_mod_exp_dh(const DH *dh, BIGNUM *r, #endif /* RAND stuff */ -static int hwcrhk_rand_bytes(unsigned char *buf, int num); +static int hwcrhk_rand_bytes(unsigned char *buf, size_t num); static int hwcrhk_rand_status(void); /* KM stuff */ @@ -1097,7 +1097,7 @@ static int hwcrhk_mod_exp_dh(const DH *dh, BIGNUM *r, #endif /* Random bytes are good */ -static int hwcrhk_rand_bytes(unsigned char *buf, int num) +static int hwcrhk_rand_bytes(unsigned char *buf, size_t num) { char tempbuf[1024]; HWCryptoHook_ErrMsgBuf rmsg; |