aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dtls.c
diff options
context:
space:
mode:
authorpascal <pascal@localhost>2012-04-30 19:14:14 +0000
committerpascal <pascal@localhost>2012-04-30 19:14:14 +0000
commit95eb2e7288d941c7c18d711da282e6a88ee0eda1 (patch)
treec87733d3ae806f75c08bdd671d6b1c483baf5a3d /epan/dissectors/packet-dtls.c
parent0f3c6a288e7d2577168a230a9c77ea2d81cb2701 (diff)
From Martin Kaiser:
Fix some 'intermediate pointers must be const qualified' warnings https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7215 svn path=/trunk/; revision=42355
Diffstat (limited to 'epan/dissectors/packet-dtls.c')
-rw-r--r--epan/dissectors/packet-dtls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-dtls.c b/epan/dissectors/packet-dtls.c
index 1d3f15a5de..890990accb 100644
--- a/epan/dissectors/packet-dtls.c
+++ b/epan/dissectors/packet-dtls.c
@@ -177,9 +177,9 @@ static StringInfo dtls_decrypted_data = {NULL, 0};
static gint dtls_decrypted_data_avail = 0;
static uat_t *dtlsdecrypt_uat = NULL;
-static gchar *dtls_keys_list = NULL;
+static const gchar *dtls_keys_list = NULL;
#ifdef HAVE_LIBGNUTLS
-static gchar *dtls_debug_file_name = NULL;
+static const gchar *dtls_debug_file_name = NULL;
#endif
static heur_dissector_list_t heur_subdissector_list;
@@ -2656,12 +2656,12 @@ proto_register_dtls(void)
prefs_register_string_preference(dtls_module, "debug_file", "DTLS debug file",
"redirect dtls debug to file name; leave empty to disable debug, "
"use \"" SSL_DEBUG_USE_STDERR "\" to redirect output to stderr\n",
- (const gchar **)&dtls_debug_file_name);
+ &dtls_debug_file_name);
prefs_register_string_preference(dtls_module, "keys_list", "RSA keys list (deprecated)",
"Semicolon-separated list of private RSA keys used for DTLS decryption. "
"Used by versions of Wireshark prior to 1.6",
- (const gchar **)&dtls_keys_list);
+ &dtls_keys_list);
}
#endif