commit | 693b71fa719598a487165918cbbc0f7f62816c83 | [log] [tgz] |
---|---|---|
author | Viktor Szakats <harbour.01@syenar.hu> | Fri Aug 08 23:15:59 2014 -0400 |
committer | Rich Salz <rsalz@akamai.com> | Sat Aug 09 07:56:28 2014 -0400 |
tree | e7215543b18648b307e63a4378b1506422a59702 | |
parent | 6d03125ccf0fd870792a4fa9f6140f9983f241a6 [diff] [blame] |
RT 1988: Add "const" to SSL_use_RSAPrivateKey_ASN1 The "unsigned char *d" should be const. Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
diff --git a/ssl/ssl_rsa.c b/ssl/ssl_rsa.c index 7c02878..c76a2a3 100644 --- a/ssl/ssl_rsa.c +++ b/ssl/ssl_rsa.c
@@ -296,7 +296,7 @@ } #endif -int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, unsigned char *d, long len) +int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, const unsigned char *d, long len) { int ret; const unsigned char *p;