diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-07-08 00:43:32 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-07-25 08:20:00 -0400 |
commit | d3d5dc607a27859594be59be90cda9f474073b5a (patch) | |
tree | bfe79f3992fa4af392042e739fa28488f71cb707 /crypto/asn1 | |
parent | e83f154f6c19f557251676d9008c75f89f9f5d4a (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/asn1')
-rw-r--r-- | crypto/asn1/tasn_prn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/tasn_prn.c b/crypto/asn1/tasn_prn.c index 096c8415df..c79ecb587a 100644 --- a/crypto/asn1/tasn_prn.c +++ b/crypto/asn1/tasn_prn.c @@ -423,7 +423,7 @@ static int asn1_print_obstring(BIO *out, ASN1_STRING *str, int indent) } else if (BIO_puts(out, "\n") <= 0) return 0; if ((str->length > 0) - && BIO_dump_indent(out, (char *)str->data, str->length, + && BIO_dump_indent(out, (const char *)str->data, str->length, indent + 2) <= 0) return 0; return 1; |