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
This commit is contained in:
Ronnie Sahlberg 2006-06-29 07:31:52 +00:00
parent ef7bfcdd45
commit a134276421
1 changed files with 2 additions and 0 deletions

View File

@ -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);