summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-07-10 09:30:53 +0000
committerjsing <jsing@openbsd.org>2014-07-10 09:30:53 +0000
commit860708abaa555bc56632dfd06e4783b1618f15c7 (patch)
tree4c20fae9ff2a10aa4aa2a0dc8056a24b524b80c0
parentPut back some parts of the public SSL API that should not have been (diff)
downloadwireguard-openbsd-860708abaa555bc56632dfd06e4783b1618f15c7.tar.xz
wireguard-openbsd-860708abaa555bc56632dfd06e4783b1618f15c7.zip
Tame the tedu... we still want to know that Compression and Expansion are
NONE, even if this is due to the fact that we do not support compression.
-rw-r--r--lib/libssl/src/apps/s_client.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libssl/src/apps/s_client.c b/lib/libssl/src/apps/s_client.c
index 89e14693f1a..2b313c84ff6 100644
--- a/lib/libssl/src/apps/s_client.c
+++ b/lib/libssl/src/apps/s_client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: s_client.c,v 1.64 2014/07/10 09:15:51 tedu Exp $ */
+/* $OpenBSD: s_client.c,v 1.65 2014/07/10 09:30:53 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1509,6 +1509,10 @@ print_stuff(BIO * bio, SSL * s, int full)
BIO_printf(bio, "Secure Renegotiation IS%s supported\n",
SSL_get_secure_renegotiation_support(s) ? "" : " NOT");
+ /* Compression is not supported and will always be none. */
+ BIO_printf(bio, "Compression: NONE\n");
+ BIO_printf(bio, "Expansion: NONE\n");
+
#ifdef SSL_DEBUG
{
/* Print out local port of connection: useful for debugging */