summaryrefslogtreecommitdiffstats
path: root/apps/req.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-06-03 18:04:04 +0000
committerBen Laurie <ben@openssl.org>1999-06-03 18:04:04 +0000
commitb4f76582d4b834fb4e525d500c03ad38f0cea328 (patch)
tree7fbf127b998ad9bfff23ee0fbb45dd44c7448810 /apps/req.c
parent213a75dbf21b8f641a9ee90cc12882fc429bb84b (diff)
More evil cast removal.
Diffstat (limited to 'apps/req.c')
-rw-r--r--apps/req.c6
1 files changed, 3 insertions, 3 deletions
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='*';