From: Richard Levitte Date: Mon, 6 Nov 2000 23:16:04 +0000 (+0000) Subject: The consequence of constification is that to pass the address to a X-Git-Tag: rsaref~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5e4ca4220edd68c895a8a4bc6b8a187551e95ebc;p=oweals%2Fopenssl.git 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. --- 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