diff options
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssl_txt.c | 2 | ||||
-rw-r--r-- | ssl/t1_trce.c | 4 |
2 files changed, 3 insertions, 3 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; } diff --git a/ssl/t1_trce.c b/ssl/t1_trce.c index 562ac09e85..ab6cfa2d6c 100644 --- a/ssl/t1_trce.c +++ b/ssl/t1_trce.c @@ -728,7 +728,7 @@ static int ssl_print_extension(BIO *bio, int indent, int server, int extype, break; default: - BIO_dump_indent(bio, (char *)ext, extlen, indent + 2); + BIO_dump_indent(bio, (const char *)ext, extlen, indent + 2); } return 1; } @@ -1257,7 +1257,7 @@ static int ssl_print_handshake(BIO *bio, SSL *ssl, default: BIO_indent(bio, indent + 2, 80); BIO_puts(bio, "Unsupported, hex dump follows:\n"); - BIO_dump_indent(bio, (char *)msg, msglen, indent + 4); + BIO_dump_indent(bio, (const char *)msg, msglen, indent + 4); } return 1; } |