summaryrefslogtreecommitdiffstats
path: root/apps/genrsa.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/genrsa.c
parent213a75dbf21b8f641a9ee90cc12882fc429bb84b (diff)
More evil cast removal.
Diffstat (limited to 'apps/genrsa.c')
-rw-r--r--apps/genrsa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/genrsa.c b/apps/genrsa.c
index 1cba9f5925..9dfeb75144 100644
--- a/apps/genrsa.c
+++ b/apps/genrsa.c
@@ -75,7 +75,7 @@
#undef PROG
#define PROG genrsa_main
-static void MS_CALLBACK genrsa_cb(int p, int n, char *arg);
+static void MS_CALLBACK genrsa_cb(int p, int n, void *arg);
static long gr_load_rand(char *names);
int MAIN(int argc, char **argv)
{
@@ -194,7 +194,7 @@ bad:
BIO_printf(bio_err,"Generating RSA private key, %d bit long modulus\n",
num);
- rsa=RSA_generate_key(num,f4,genrsa_cb,(char *)bio_err);
+ rsa=RSA_generate_key(num,f4,genrsa_cb,bio_err);
if (randfile == NULL)
BIO_printf(bio_err,"unable to write 'random state'\n");
@@ -227,7 +227,7 @@ err:
EXIT(ret);
}
-static void MS_CALLBACK genrsa_cb(int p, int n, char *arg)
+static void MS_CALLBACK genrsa_cb(int p, int n, void *arg)
{
char c='*';