Re: [libvirt] [PATCH] tests: fix TLS handshake failure with TLS 1.3

2018-07-23 Thread Michal Prívozník
On 07/18/2018 08:21 PM, Daniel P. Berrangé wrote: > When gnutls negotiates TLS 1.3 instead of 1.2, the order of messages > sent by the handshake changes. This exposed a logic bug in the test > suite which caused us to wait for the server to see handshake > completion, but not wait for the client

[libvirt] [PATCH] tests: fix TLS handshake failure with TLS 1.3

2018-07-18 Thread Daniel P . Berrangé
When gnutls negotiates TLS 1.3 instead of 1.2, the order of messages sent by the handshake changes. This exposed a logic bug in the test suite which caused us to wait for the server to see handshake completion, but not wait for the client to see completion. The result was the client didn't receive