aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cms.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-cms.c')
-rw-r--r--epan/dissectors/packet-cms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-cms.c b/epan/dissectors/packet-cms.c
index 95ba431771..d6e5e1da52 100644
--- a/epan/dissectors/packet-cms.c
+++ b/epan/dissectors/packet-cms.c
@@ -2867,7 +2867,7 @@ void proto_register_cms(void) {
"RecipientKeyIdentifier", HFILL }},
{ &hf_cms_date,
{ "date", "cms.date",
- FT_STRING, BASE_NONE, NULL, 0,
+ FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0,
"GeneralizedTime", HFILL }},
{ &hf_cms_other,
{ "other", "cms.other_element",
@@ -2983,7 +2983,7 @@ void proto_register_cms(void) {
NULL, HFILL }},
{ &hf_cms_generalTime,
{ "generalTime", "cms.generalTime",
- FT_STRING, BASE_NONE, NULL, 0,
+ FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0,
"GeneralizedTime", HFILL }},
{ &hf_cms_rc2ParameterVersion,
{ "rc2ParameterVersion", "cms.rc2ParameterVersion",