X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=engines%2Fe_cswift.c;h=bc6517984649850c6ccb3d32f9b3af5c44a5c909;hp=80d7894eba3db2d488ca0e9aab224396607e75b9;hb=14023fe3521db8c2b984c44eb53ecfe498b1a01e;hpb=5e4430e70df0020f5f1517249851696cb9ac4ad2 diff --git a/engines/e_cswift.c b/engines/e_cswift.c index 80d7894eba..bc65179846 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, size_t num); +static int cswift_rand_bytes(unsigned char *buf, int 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, size_t num) +static int cswift_rand_bytes(unsigned char *buf, int num) { SW_CONTEXT_HANDLE hac; SW_STATUS swrc;