diff options
author | Richard Levitte <levitte@openssl.org> | 2000-11-06 23:16:04 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-11-06 23:16:04 +0000 |
commit | 5e4ca4220edd68c895a8a4bc6b8a187551e95ebc (patch) | |
tree | 0d9412df6a98fd5a2280e50253dd9b934e781b9b /apps | |
parent | e5828cd46f0217427e2232ebb80511827bfe7d15 (diff) |
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.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/rsa.c | 2 | ||||
-rw-r--r-- | apps/speed.c | 2 |
2 files changed, 2 insertions, 2 deletions
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<RSA_NUM; i++) { - unsigned char *p; + const unsigned char *p; p=rsa_data[i]; rsa_key[i]=d2i_RSAPrivateKey(NULL,&p,rsa_data_length[i]); |