diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2005-09-30 23:38:20 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2005-09-30 23:38:20 +0000 |
commit | 54f51116b2fb12410fb17a1bfe6a400399e6456b (patch) | |
tree | 003cb5f9abe8553139ba1ce48c78201cdea57c69 /apps | |
parent | b0d90958fc13818ae3feb058b3320aaf678c0959 (diff) |
Update from HEAD.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_client.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index b22f3196e6..cfee531349 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -1096,7 +1096,9 @@ static void print_stuff(BIO *bio, SSL *s, int full) SSL_CIPHER *c; X509_NAME *xn; int j,i; +#ifndef OPENSSL_NO_COMP const COMP_METHOD *comp, *expansion; +#endif if (full) { @@ -1199,12 +1201,14 @@ static void print_stuff(BIO *bio, SSL *s, int full) EVP_PKEY_bits(pktmp)); EVP_PKEY_free(pktmp); } +#ifndef OPENSSL_NO_COMP comp=SSL_get_current_compression(s); expansion=SSL_get_current_expansion(s); BIO_printf(bio,"Compression: %s\n", comp ? SSL_COMP_get_name(comp) : "NONE"); BIO_printf(bio,"Expansion: %s\n", expansion ? SSL_COMP_get_name(expansion) : "NONE"); +#endif SSL_SESSION_print(bio,SSL_get_session(s)); BIO_printf(bio,"---\n"); if (peer != NULL) |