summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_txt.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2005-09-30 23:35:33 +0000
committerDr. Stephen Henson <steve@openssl.org>2005-09-30 23:35:33 +0000
commit09b6c2ef15139aa6ef2cee11676070939dd37817 (patch)
treeafeaab1982d494fde0fe9f7425e0873a84a2f5e2 /ssl/ssl_txt.c
parentcc29c1204ba08af88febdd675be4a118482d2611 (diff)
Make OPENSSL_NO_COMP compile again.
Diffstat (limited to 'ssl/ssl_txt.c')
-rw-r--r--ssl/ssl_txt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/ssl_txt.c b/ssl/ssl_txt.c
index 39cf55cbfd..4eb0867155 100644
--- a/ssl/ssl_txt.c
+++ b/ssl/ssl_txt.c
@@ -151,6 +151,7 @@ int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)
if (BIO_printf(bp,"%02X",x->krb5_client_princ[i]) <= 0) goto err;
}
#endif /* OPENSSL_NO_KRB5 */
+#ifndef OPENSSL_NO_COMP
if (x->compress_meth != 0)
{
SSL_COMP *comp = NULL;
@@ -165,6 +166,7 @@ int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x)
if (BIO_printf(bp,"\n Compression: %d (%s)", comp->id,comp->method->name) <= 0) goto err;
}
}
+#endif
if (x->time != 0L)
{
if (BIO_printf(bp, "\n Start Time: %ld",x->time) <= 0) goto err;