aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/x411/packet-x411-template.c
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/x411/packet-x411-template.c')
-rw-r--r--asn1/x411/packet-x411-template.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/asn1/x411/packet-x411-template.c b/asn1/x411/packet-x411-template.c
index a02ed78ec0..f21ef4ebb1 100644
--- a/asn1/x411/packet-x411-template.c
+++ b/asn1/x411/packet-x411-template.c
@@ -28,6 +28,7 @@
#endif
#include <glib.h>
+#include <epan/emem.h>
#include <epan/packet.h>
#include <epan/conversation.h>
@@ -55,7 +56,7 @@ int proto_x411 = -1;
static struct SESSION_DATA_STRUCTURE* session = NULL;
static int extension_id = 0; /* integer extension id */
-static char object_identifier_id[BER_MAX_OID_STR_LEN]; /* content type identifier */
+static const char *object_identifier_id; /* content type identifier */
static proto_tree *top_tree=NULL;