Commit 370d312b authored by Michael Catanzaro's avatar Michael Catanzaro

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.
parent f53ae599
Pipeline #87211 failed with stage
in 28 seconds
...@@ -74,6 +74,13 @@ foreach backend: backends ...@@ -74,6 +74,13 @@ foreach backend: backends
if backend != 'openssl' if backend != 'openssl'
test(program_name, exe, env: test_envs) test(program_name, exe, env: test_envs)
endif 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 endif
endforeach endforeach
endforeach endforeach
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment