From a13427642164467c4f497637e5b10fb76526db26 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Thu, 29 Jun 2006 07:31:52 +0000 Subject: [PATCH] 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 svn path=/trunk/; revision=18604 --- epan/dissectors/packet-ssl.c | 2 ++ 1 file changed, 2 insertions(+) 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 ::" @@ -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);