From 5e4ca4220edd68c895a8a4bc6b8a187551e95ebc Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 6 Nov 2000 23:16:04 +0000 Subject: The consequence of constification is that to pass the address to a pointer to a const double pointe parameter, the pointer must point to const data as well. --- apps/rsa.c | 2 +- apps/speed.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/rsa.c b/apps/rsa.c index 700df4223e..825d925c66 100644 --- a/apps/rsa.c +++ b/apps/rsa.c @@ -265,7 +265,7 @@ bad: else if (informat == FORMAT_NETSCAPE) { BUF_MEM *buf=NULL; - unsigned char *p; + const unsigned char *p; int size=0; buf=BUF_MEM_new(); diff --git a/apps/speed.c b/apps/speed.c index 5ff2ade6e4..333dea6c92 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -739,7 +739,7 @@ int MAIN(int argc, char **argv) #ifndef NO_RSA for (i=0; i