summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-07-08 00:43:32 +0200
committerRich Salz <rsalz@openssl.org>2016-07-25 08:20:00 -0400
commitd3d5dc607a27859594be59be90cda9f474073b5a (patch)
treebfe79f3992fa4af392042e739fa28488f71cb707 /crypto/x509v3
parente83f154f6c19f557251676d9008c75f89f9f5d4a (diff)
Enforce and explicit some const casting
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1300)
Diffstat (limited to 'crypto/x509v3')
-rw-r--r--crypto/x509v3/v3_prn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509v3/v3_prn.c b/crypto/x509v3/v3_prn.c
index 86666363a1..3048b67588 100644
--- a/crypto/x509v3/v3_prn.c
+++ b/crypto/x509v3/v3_prn.c
@@ -188,7 +188,7 @@ static int unknown_ext_print(BIO *out, const unsigned char *ext, int extlen,
case X509V3_EXT_PARSE_UNKNOWN:
return ASN1_parse_dump(out, ext, extlen, indent, -1);
case X509V3_EXT_DUMP_UNKNOWN:
- return BIO_dump_indent(out, (char *)ext, extlen, indent);
+ return BIO_dump_indent(out, (const char *)ext, extlen, indent);
default:
return 1;