diff options
| author | tedu <> | 2014-07-10 08:51:15 +0000 |
|---|---|---|
| committer | tedu <> | 2014-07-10 08:51:15 +0000 |
| commit | 78de0a2c32aaba2455b28e3cb034f296c59c3179 (patch) | |
| tree | 10d3c4ab8299021b37a17232dc3493cb7fc5dd87 /src/lib/libssl/ssl_txt.c | |
| parent | 026ac0f99b4505d6ca98aff637a396038bd916d3 (diff) | |
| download | openbsd-78de0a2c32aaba2455b28e3cb034f296c59c3179.tar.gz openbsd-78de0a2c32aaba2455b28e3cb034f296c59c3179.tar.bz2 openbsd-78de0a2c32aaba2455b28e3cb034f296c59c3179.zip | |
decompress libssl. ok beck jsing
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/ssl_txt.c | 18 |
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; |
