diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-07-08 00:43:32 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-07-25 14:20:00 +0200 |
commit | d3d5dc607a27859594be59be90cda9f474073b5a (patch) | |
tree | bfe79f3992fa4af392042e739fa28488f71cb707 /ssl/ssl_txt.c | |
parent | Constify i2t_ASN1_OBJECT, i2d_ASN1_OBJECT, i2a_ASN1_OBJECT. (diff) | |
download | openssl-d3d5dc607a27859594be59be90cda9f474073b5a.tar.xz openssl-d3d5dc607a27859594be59be90cda9f474073b5a.zip |
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 'ssl/ssl_txt.c')
-rw-r--r-- | ssl/ssl_txt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_txt.c b/ssl/ssl_txt.c index df7c74b4f3..2da3c0a86b 100644 --- a/ssl/ssl_txt.c +++ b/ssl/ssl_txt.c @@ -128,7 +128,7 @@ int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x) if (x->tlsext_tick) { if (BIO_puts(bp, "\n TLS session ticket:\n") <= 0) goto err; - if (BIO_dump_indent(bp, (char *)x->tlsext_tick, x->tlsext_ticklen, 4) + if (BIO_dump_indent(bp, (const char *)x->tlsext_tick, x->tlsext_ticklen, 4) <= 0) goto err; } |