summary refs log tree commit diff stats
path: root/tests/crypto-tls-x509-helpers.h
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2021-01-28 18:15:23 +0100
committerDaniel P. Berrangé <berrange@redhat.com>2021-01-29 17:07:53 +0000
commitecb98f5c7589ba8ecd15c8b1baa2ec7192e47c75 (patch)
tree009ea4b7d77f64bfb95d15cd77bfdb007a00f9a2 /tests/crypto-tls-x509-helpers.h
parenta07e9fdd339e2142572d3da45e2e6869064a3055 (diff)
downloadfocaccia-qemu-ecb98f5c7589ba8ecd15c8b1baa2ec7192e47c75.tar.gz
focaccia-qemu-ecb98f5c7589ba8ecd15c8b1baa2ec7192e47c75.zip
tests: Replace deprecated ASN1 code
This fixes several compiler warnings on MacOS with Homebrew. The
git development branch for forthcoming libtasn1 4.17.0 has introduced
deprecation warnings for several macros/types that we use.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'tests/crypto-tls-x509-helpers.h')
-rw-r--r--tests/crypto-tls-x509-helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/crypto-tls-x509-helpers.h b/tests/crypto-tls-x509-helpers.h
index 08efba4e19..8fcd7785ab 100644
--- a/tests/crypto-tls-x509-helpers.h
+++ b/tests/crypto-tls-x509-helpers.h
@@ -125,7 +125,7 @@ void test_tls_cleanup(const char *keyfile);
     };                                                                  \
     test_tls_generate_cert(&varname, NULL)
 
-extern const ASN1_ARRAY_TYPE pkix_asn1_tab[];
+extern const asn1_static_node pkix_asn1_tab[];
 
 #endif /* QCRYPTO_HAVE_TLS_TEST_SUPPORT */