aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2006-06-29 07:31:52 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2006-06-29 07:31:52 +0000
commit3ec1f8442575fe8fc915aa5275b769ee4fda6351 (patch)
treefc0273f67acff85d32d87dbd56621042eae9e51b
parent6aadbd907d365df4498d18dce9e100abaf8051db (diff)
make the three decryption preferences only be visible IF wireshark is compiled for ssl decryption (==with libgcrypt and gnutls)
this makes it easier for users to determine whether their versaion of wireshark can or can not decrypt ssl traffic git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18604 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--epan/dissectors/packet-ssl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ssl.c b/epan/dissectors/packet-ssl.c
index e68b02a0e2..408937c6b7 100644
--- a/epan/dissectors/packet-ssl.c
+++ b/epan/dissectors/packet-ssl.c
@@ -4023,6 +4023,7 @@ proto_register_ssl(void)
"Reassemble SSL Application Data spanning multiple SSL records",
"Whether the SSL dissector should reassemble SSL Application Data spanning multiple SSL records. ",
&ssl_desegment_app_data);
+#ifdef HAVE_LIBGNUTLS
prefs_register_string_preference(ssl_module, "keys_list", "RSA keys list",
"comma separated list of private RSA keys used for SSL decryption; "
"each list entry must be in the form of <ip>:<port>:<key_file_name>"
@@ -4037,6 +4038,7 @@ proto_register_ssl(void)
"redirect ssl debug to file name; leave empty to disable debug, "
"use \"" SSL_DEBUG_USE_STDERR "\" to redirect output to stderr\n",
(const char **)&ssl_debug_file_name);
+#endif
}
register_dissector("ssl", dissect_ssl, proto_ssl);