aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/crypto-tls-x509-helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/crypto-tls-x509-helpers.c')
-rw-r--r--tests/unit/crypto-tls-x509-helpers.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/unit/crypto-tls-x509-helpers.c b/tests/unit/crypto-tls-x509-helpers.c
index e9937f6..3e74ec5 100644
--- a/tests/unit/crypto-tls-x509-helpers.c
+++ b/tests/unit/crypto-tls-x509-helpers.c
@@ -20,15 +20,19 @@
#include "qemu/osdep.h"
+#include <libtasn1.h>
+
#include "crypto-tls-x509-helpers.h"
#include "crypto/init.h"
#include "qemu/sockets.h"
+#include "pkix_asn1_tab.c.inc"
+
/*
* This stores some static data that is needed when
* encoding extensions in the x509 certs
*/
-asn1_node pkix_asn1;
+static asn1_node pkix_asn1;
/*
* To avoid consuming random entropy to generate keys,