From 6343829a391df59e46e513c84b6264ee71ad9518 Mon Sep 17 00:00:00 2001 From: Geoff Thorpe Date: Wed, 12 Nov 2008 03:58:08 +0000 Subject: Revert the size_t modifications from HEAD that had led to more knock-on work than expected - they've been extracted into a patch series that can be completed elsewhere, or in a different branch, before merging back to HEAD. --- engines/e_4758cca.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/e_4758cca.c') diff --git a/engines/e_4758cca.c b/engines/e_4758cca.c index b29b2b8..9f6572e 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; -- cgit v1.1