From b4f76582d4b834fb4e525d500c03ad38f0cea328 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Thu, 3 Jun 1999 18:04:04 +0000 Subject: More evil cast removal. --- apps/req.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/req.c') diff --git a/apps/req.c b/apps/req.c index 052cae9804..dff16a6b92 100644 --- a/apps/req.c +++ b/apps/req.c @@ -113,7 +113,7 @@ static int add_attribute_object(STACK_OF(X509_ATTRIBUTE) *n, char *text, int max); static int add_DN_object(X509_NAME *n, char *text, char *def, char *value, int nid,int min,int max); -static void MS_CALLBACK req_cb(int p,int n,char *arg); +static void MS_CALLBACK req_cb(int p,int n,void *arg); static int req_fix_data(int nid,int *type,int len,int min,int max); static int check_end(char *str, char *end); static int add_oid_section(LHASH *conf); @@ -513,7 +513,7 @@ bad: { if (!EVP_PKEY_assign_RSA(pkey, RSA_generate_key(newkey,0x10001, - req_cb,(char *)bio_err))) + req_cb,bio_err))) goto end; } else @@ -1111,7 +1111,7 @@ err: return(0); } -static void MS_CALLBACK req_cb(int p, int n, char *arg) +static void MS_CALLBACK req_cb(int p, int n, void *arg) { char c='*'; -- cgit v1.2.3