summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/ssl/ssl_txt.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-05-31 10:49:28 +0000
committerjsing <jsing@openbsd.org>2014-05-31 10:49:28 +0000
commit1faa0e499708c894964780c27c8412b45faae6dd (patch)
treeba68e1397bfa16390078f07ba332cf537b4e9c96 /lib/libssl/src/ssl/ssl_txt.c
parentDelete the extraneous "return" statement at the end of a void function. (diff)
downloadwireguard-openbsd-1faa0e499708c894964780c27c8412b45faae6dd.tar.xz
wireguard-openbsd-1faa0e499708c894964780c27c8412b45faae6dd.zip
TLS would not be entirely functional without extensions, so unifdef
OPENSSL_NO_TLSEXT. ok tedu@
Diffstat (limited to 'lib/libssl/src/ssl/ssl_txt.c')
-rw-r--r--lib/libssl/src/ssl/ssl_txt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libssl/src/ssl/ssl_txt.c b/lib/libssl/src/ssl/ssl_txt.c
index 43696db8473..e58849deb58 100644
--- a/lib/libssl/src/ssl/ssl_txt.c
+++ b/lib/libssl/src/ssl/ssl_txt.c
@@ -169,7 +169,6 @@ SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)
if (BIO_printf(bp, "%s", x->psk_identity_hint ? x->psk_identity_hint : "None") <= 0)
goto err;
#endif
-#ifndef OPENSSL_NO_TLSEXT
if (x->tlsext_tick_lifetime_hint) {
if (BIO_printf(bp,
"\n TLS session ticket lifetime hint: %ld (seconds)",
@@ -182,7 +181,6 @@ SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)
if (BIO_dump_indent(bp, (char *)x->tlsext_tick, x->tlsext_ticklen, 4) <= 0)
goto err;
}
-#endif
#ifndef OPENSSL_NO_COMP
if (x->compress_meth != 0) {