X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=engines%2Fe_4758cca.c;h=443182bd31e95c676455341841b401ac5c8a50f1;hb=487b023f3d30114cad2118be70a47171ea4d65cd;hp=b29b2b8b9b5c53faa746ec6bd2436ea27983f5a6;hpb=5e4430e70df0020f5f1517249851696cb9ac4ad2;p=openssl.git diff --git a/engines/e_4758cca.c b/engines/e_4758cca.c index b29b2b8b9b..443182bd31 100644 --- a/engines/e_4758cca.c +++ b/engines/e_4758cca.c @@ -108,7 +108,7 @@ static int getModulusAndExponent(const unsigned char *token, long *exponentLengt /* RAND number functions */ /*-----------------------*/ -static int cca_get_random_bytes(unsigned char*, size_t); +static int cca_get_random_bytes(unsigned char*, int); static int cca_random_status(void); #ifndef OPENSSL_NO_RSA @@ -927,7 +927,7 @@ static int cca_random_status(void) return 1; } -static int cca_get_random_bytes(unsigned char* buf, size_t num) +static int cca_get_random_bytes(unsigned char* buf, int num) { long ret_code; long reason_code;