mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
tests: force use of "NORMAL" TLS priority in test suite
When generating certificates we rely on GNUTLS' built-in default setup for the ciphers used in the certs. We then currently run with the distro specific TLS priority setup which can be much stronger, to the extent that the certificates we generate are considered untrustworthy. We don't care about the quality of the ciphers we use in the test suite, so just force the priority to "NORMAL" which should ensure our certs are accepted by GNUTLS. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
b4fad8ec16
commit
874306dde1
@ -72,7 +72,7 @@ static int testTLSContextInit(const void *opaque)
|
|||||||
data->crt,
|
data->crt,
|
||||||
KEYFILE,
|
KEYFILE,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
"NORMAL",
|
||||||
true,
|
true,
|
||||||
true);
|
true);
|
||||||
} else {
|
} else {
|
||||||
@ -80,7 +80,7 @@ static int testTLSContextInit(const void *opaque)
|
|||||||
NULL,
|
NULL,
|
||||||
data->crt,
|
data->crt,
|
||||||
KEYFILE,
|
KEYFILE,
|
||||||
NULL,
|
"NORMAL",
|
||||||
true,
|
true,
|
||||||
true);
|
true);
|
||||||
}
|
}
|
||||||
|
@ -113,7 +113,7 @@ static int testTLSSessionInit(const void *opaque)
|
|||||||
data->servercrt,
|
data->servercrt,
|
||||||
KEYFILE,
|
KEYFILE,
|
||||||
data->wildcards,
|
data->wildcards,
|
||||||
NULL,
|
"NORMAL",
|
||||||
false,
|
false,
|
||||||
true);
|
true);
|
||||||
|
|
||||||
@ -121,7 +121,7 @@ static int testTLSSessionInit(const void *opaque)
|
|||||||
NULL,
|
NULL,
|
||||||
data->clientcrt,
|
data->clientcrt,
|
||||||
KEYFILE,
|
KEYFILE,
|
||||||
NULL,
|
"NORMAL",
|
||||||
false,
|
false,
|
||||||
true);
|
true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user