tests: call qcrypto_init instead of gnutls_global_init
commitdbddad702630bc2d8dd20f6d0d8076ccb8831a7f
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 17 Jul 2018 16:54:17 +0000 (17 17:54 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 24 Jul 2018 16:33:39 +0000 (24 17:33 +0100)
treeb56d04174de8d48cd83f27e9cb65f844c0f85c2b
parent3bae150448dbd888a480f892ebbf01caec0d8329
tests: call qcrypto_init instead of gnutls_global_init

Calling qcrypto_init ensures that all relevant initialization is
done. In particular this honours the debugging settings and thread
settings.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
include/crypto/init.h
tests/crypto-tls-x509-helpers.c