summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_txt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/ssl_txt.c')
-rw-r--r--src/lib/libssl/ssl_txt.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/lib/libssl/ssl_txt.c b/src/lib/libssl/ssl_txt.c
index c06e2d23b7..25f2290290 100644
--- a/src/lib/libssl/ssl_txt.c
+++ b/src/lib/libssl/ssl_txt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_txt.c,v 1.21 2014/06/12 15:49:31 deraadt Exp $ */ 1/* $OpenBSD: ssl_txt.c,v 1.22 2014/07/10 08:51:15 tedu Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -182,22 +182,6 @@ SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)
182 goto err; 182 goto err;
183 } 183 }
184 184
185#ifndef OPENSSL_NO_COMP
186 if (x->compress_meth != 0) {
187 SSL_COMP *comp = NULL;
188
189 if (!ssl_cipher_get_comp(x, &comp))
190 goto err;
191
192 if (comp == NULL) {
193 if (BIO_printf(bp, "\n Compression: %d", x->compress_meth) <= 0)
194 goto err;
195 } else {
196 if (BIO_printf(bp, "\n Compression: %d (%s)", comp->id, comp->method->name) <= 0)
197 goto err;
198 }
199 }
200#endif
201 if (x->time != 0) { 185 if (x->time != 0) {
202 if (BIO_printf(bp, "\n Start Time: %lld", (long long)x->time) <= 0) 186 if (BIO_printf(bp, "\n Start Time: %lld", (long long)x->time) <= 0)
203 goto err; 187 goto err;