[glib-networking/mcatanzaro/rerun-tests] Run GnuTLS connection tests with TLS 1.3 disabled
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking/mcatanzaro/rerun-tests] Run GnuTLS connection tests with TLS 1.3 disabled
- Date: Sun, 9 Jun 2019 15:16:26 +0000 (UTC)
commit 9619f0ee40d2634fdb17dc0deef8c758be0fc065
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Thu May 23 15:37:24 2019 -0500
Run GnuTLS connection tests with TLS 1.3 disabled
Some tests have regressed with TLS 1.2, but I didn't notice because we
are currently not testing it anywhere. Run all the tests with TLS 1.2
as well as TLS 1.3.
This is currently expected to fail due to #84 and #88.
tls/tests/meson.build | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/tls/tests/meson.build b/tls/tests/meson.build
index df9dba4..a81467a 100644
--- a/tls/tests/meson.build
+++ b/tls/tests/meson.build
@@ -74,6 +74,13 @@ foreach backend: backends
if backend != 'openssl'
test(program_name, exe, env: test_envs)
endif
+
+ # GnuTLS tests are run twice: once with TLS 1.3, then once again with
+ # TLS 1.2. (Assuming GnuTLS supports TLS 1.3.)
+ if backend == 'gnutls' and program_name.contains('connection')
+ test_envs += ['G_TLS_GNUTLS_PRIORITY=NORMAL:%COMPAT:-VERS-TLS1.3']
+ test(program_name + '-tls1.2', exe, env: test_envs)
+ endif
endif
endforeach
endforeach
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]