aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ssl.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2012-06-13 01:13:12 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2012-06-13 01:13:12 +0000
commit4fdc3c3cc2f7796187651d5d987debd438d23521 (patch)
tree0758e88c61334cffbb722b80e6c2200fc77e6884 /epan/dissectors/packet-ssl.c
parentf0a74f3a5c90cfd6418905d1f7a02c1d59a63a7f (diff)
Create, and start using, file name preferences.
File name preferences are basically just string preferences except that the GUI will present a "Browse" button that allows the user to go and find the file s/he wants (rather than having to blindly type in the full path). svn path=/trunk/; revision=43228
Diffstat (limited to 'epan/dissectors/packet-ssl.c')
-rw-r--r--epan/dissectors/packet-ssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ssl.c b/epan/dissectors/packet-ssl.c
index fdd954a009..922c7e4998 100644
--- a/epan/dissectors/packet-ssl.c
+++ b/epan/dissectors/packet-ssl.c
@@ -5638,7 +5638,7 @@ proto_register_ssl(void)
"A table of RSA keys for SSL decryption",
ssldecrypt_uat);
- prefs_register_string_preference(ssl_module, "debug_file", "SSL debug file",
+ prefs_register_filename_preference(ssl_module, "debug_file", "SSL debug file",
"Redirect SSL debug to file name; leave empty to disable debugging, "
"or use \"" SSL_DEBUG_USE_STDERR "\" to redirect output to stderr\n",
&ssl_debug_file_name);
@@ -5670,7 +5670,7 @@ proto_register_ssl(void)
"Pre-Shared-Key as HEX string, should be 0 to 16 bytes",
&ssl_psk);
- prefs_register_string_preference(ssl_module, "keylog_file", "(Pre)-Master-Secret log filename",
+ prefs_register_filename_preference(ssl_module, "keylog_file", "(Pre)-Master-Secret log filename",
"The filename of a file which contains a list of \n"
"(pre-)master secrets in one of the following formats:\n"
"\n"