]> Git Repo - qemu.git/blobdiff - tests/test-io-channel-tls.c
aspeed/smc: reset flash after each test
[qemu.git] / tests / test-io-channel-tls.c
index 3c361a7bef046e0a9fa0f0243304b170ce2f5152..bd3ae2bf7a47cd91daeacceeeea3626cbed06072 100644 (file)
@@ -27,6 +27,7 @@
 #include "io/channel-tls.h"
 #include "io/channel-socket.h"
 #include "io-channel-helpers.h"
+#include "crypto/init.h"
 #include "crypto/tlscredsx509.h"
 #include "qemu/acl.h"
 #include "qom/object_interfaces.h"
@@ -265,6 +266,8 @@ int main(int argc, char **argv)
 {
     int ret;
 
+    g_assert(qcrypto_init(NULL) == 0);
+
     module_call_init(MODULE_INIT_QOM);
     g_test_init(&argc, &argv, NULL);
     setenv("GNUTLS_FORCE_FIPS_MODE", "2", 1);
This page took 0.024343 seconds and 4 git commands to generate.