mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
tests: force FIPS testing mode with new enough GNU TLS versions
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
ab22096710
commit
8afbd52f29
@ -113,6 +113,8 @@ mymain(void)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
setenv("GNUTLS_FORCE_FIPS_MODE", "2", 1);
|
||||
|
||||
testTLSInit(KEYFILE);
|
||||
|
||||
# define DO_CTX_TEST(_isServer, _caCrt, _crt, _expectFail) \
|
||||
|
@ -240,6 +240,8 @@ mymain(void)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
setenv("GNUTLS_FORCE_FIPS_MODE", "2", 1);
|
||||
|
||||
testTLSInit(KEYFILE);
|
||||
|
||||
# define DO_SESS_TEST(_caCrt, _serverCrt, _clientCrt, _expectServerFail, \
|
||||
|
Loading…
Reference in New Issue
Block a user