summaryrefslogtreecommitdiff
path: root/src/cli-debug.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-12-25 00:16:17 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-12-25 00:16:17 +0200
commita6ae4c71b84f53304d11f3acd9664ba4eedf4e37 (patch)
treee4004fdd3266469d11fccfbf7d374fea6170b39e /src/cli-debug.c
parentf15c477904e3e6a5270eb2984634ec68fc5f683d (diff)
downloadgnutls-a6ae4c71b84f53304d11f3acd9664ba4eedf4e37.tar.gz
tools: use OCSP functions only when OCSP is enabled
Diffstat (limited to 'src/cli-debug.c')
-rw-r--r--src/cli-debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cli-debug.c b/src/cli-debug.c
index fa0c087c5e..b188201ece 100644
--- a/src/cli-debug.c
+++ b/src/cli-debug.c
@@ -169,8 +169,10 @@ static const TLS_TEST tls_tests[] = {
#endif
{"for max record size (RFC6066) support", test_max_record_size, "yes",
"no", "dunno"},
+#ifdef ENABLE_OCSP
{"for OCSP status response (RFC6066) support", test_ocsp_status, "yes",
"no", "dunno"},
+#endif
{"for OpenPGP authentication (RFC6091) support", test_openpgp1,
"yes", "no", "dunno"},
{NULL, NULL, NULL, NULL, NULL}