]> git.ipfire.org Git - thirdparty/qemu.git/commit
crypto: ensure we use a predictable TLS priority setting
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 28 Feb 2018 14:04:38 +0000 (14:04 +0000)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 21 Jun 2018 01:45:08 +0000 (20:45 -0500)
commit2ab0ce6e8d94471ef4add86321fab7b476f82fac
tree8400bf59821a845da075ba7acc5c1cbe28369d75
parent8bbb76e05023bfa64e197475a072e599d046b3ba
crypto: ensure we use a predictable TLS priority setting

The TLS test cert generation relies on a fixed set of algorithms that are
only usable under GNUTLS' default priority setting. When building QEMU
with a custom distro specific priority setting, this can cause the TLS
tests to fail. By forcing the tests to always use "NORMAL" priority we
can make them more robust.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
(cherry picked from commit 057ad0b46992e3ec4ce29b9103162aa3c683f347)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tests/test-crypto-tlssession.c
tests/test-io-channel-tls.c