egg: Fix build with libtasn1 >= 3.1
authorSebastian Keller <sebastian-keller@gmx.de>
Mon, 18 Feb 2013 14:13:28 +0000 (15:13 +0100)
committerStef Walter <stefw@gnome.org>
Mon, 18 Feb 2013 14:16:08 +0000 (15:16 +0100)
egg/egg-asn1-defs.c
egg/tests/test-asn1.c
egg/tests/test-symkey.c

index 8295ec0..e1a6d1e 100644 (file)
@@ -28,6 +28,7 @@
 #include <stdlib.h>
 
 typedef struct _EggAsn1xDef ASN1_ARRAY_TYPE;
+typedef struct _EggAsn1xDef asn1_static_node;
 
 #include "pk.asn.h"
 #include "pkix.asn.h"
index 3bd43a5..c6f2dd9 100644 (file)
@@ -34,6 +34,7 @@
 #include <string.h>
 
 typedef struct _EggAsn1xDef ASN1_ARRAY_TYPE;
+typedef struct _EggAsn1xDef asn1_static_node;
 #include "test.asn.h"
 
 const gchar I33[] =           "\x02\x01\x2A";
index 133cbf9..783eebb 100644 (file)
@@ -31,6 +31,7 @@
 #include "egg/egg-testing.h"
 
 typedef struct _EggAsn1xDef ASN1_ARRAY_TYPE;
+typedef struct _EggAsn1xDef asn1_static_node;
 #include "test.asn.h"
 
 #include <gcrypt.h>