[glib-networking/mcatanzaro/tls1.2: 3/9] Run connection tests under TLS 1.2... but not yet
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking/mcatanzaro/tls1.2: 3/9] Run connection tests under TLS 1.2... but not yet
- Date: Mon, 19 Aug 2019 21:38:00 +0000 (UTC)
commit 56f0dd9b7368bc4325d371cdf861d8c96ac1eafa
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Aug 17 16:59:56 2019 -0500
Run connection tests under TLS 1.2... but not yet
This adds a FIXME to uncomment when I have TLS 1.2 tests working.
tls/tests/meson.build | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/tls/tests/meson.build b/tls/tests/meson.build
index 4cf289d..f181a6c 100644
--- a/tls/tests/meson.build
+++ b/tls/tests/meson.build
@@ -74,16 +74,16 @@ foreach backend: backends
'GIO_MODULE_DIR=' + join_paths(meson.build_root(), 'tls', backend)
]
- if backend == 'gnutls'
- test_envs += [
- 'G_TLS_GNUTLS_PRIORITY=NORMAL:%COMPAT:-VERS-TLS1.3'
- ]
- endif
-
- # OpenSSL tests are disabled until we fix https://gitlab.gnome.org/GNOME/glib-networking/issues/54
+ # FIXME: OpenSSL tests are disabled until we fix https://gitlab.gnome.org/GNOME/glib-networking/issues/54
if backend != 'openssl'
test(program_name, exe, env: test_envs)
endif
+
+ if backend == 'gnutls' and program[0] == 'connection' or program[0] == 'dtls-connection'
+ # Run the tests again, this time with TLS 1.3 disabled.
+ # FIXME: TLS 1.2 tests are disabled until we fix
+ #test(program_name + '-tls1.2', exe, env: test_envs +
['G_TLS_GNUTLS_PRIORITY=NORMAL:%COMPAT:!VERS-TLS1.3'])
+ endif
endforeach
endforeach
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]