summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-11-06 23:16:04 +0000
committerRichard Levitte <levitte@openssl.org>2000-11-06 23:16:04 +0000
commit5e4ca4220edd68c895a8a4bc6b8a187551e95ebc (patch)
tree0d9412df6a98fd5a2280e50253dd9b934e781b9b /ssl
parente5828cd46f0217427e2232ebb80511827bfe7d15 (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 'ssl')
-rw-r--r--ssl/ssl_rsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/ssl_rsa.c b/ssl/ssl_rsa.c
index 6ec7a5cdb1..34a4d27dbe 100644
--- a/ssl/ssl_rsa.c
+++ b/ssl/ssl_rsa.c
@@ -303,7 +303,7 @@ end:
int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, unsigned char *d, long len)
{
int ret;
- unsigned char *p;
+ const unsigned char *p;
RSA *rsa;
p=d;
@@ -641,7 +641,7 @@ end:
int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, unsigned char *d, long len)
{
int ret;
- unsigned char *p;
+ const unsigned char *p;
RSA *rsa;
p=d;