summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/glib-networking-disable-connection-tls1.2-test.patch
blob: fc61be38b63d880ffb75b976677e94a2ec17df2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -u a/tls/tests/meson.build b/tls/tests/meson.build
--- a/tls/tests/meson.build	2023-12-28 18:16:09.665443016 +0100
+++ b/tls/tests/meson.build	2023-12-28 18:16:47.517128845 +0100
@@ -94,14 +94,5 @@
     ]
 
     test(program_name, exe, env: test_envs, depends: program[4])
-
-    if program[0] == 'connection'
-      # Run the tests again, this time with TLS 1.3 disabled so we can test TLS 1.2.
-      if backend == 'gnutls'
-        test(program_name + '-tls1.2', exe, env: test_envs + ['G_TLS_GNUTLS_PRIORITY=NORMAL:%COMPAT:!VERS-TLS1.3'])
-      elif backend == 'openssl'
-        test(program_name + '-tls1.2', exe, env: test_envs + ['G_TLS_OPENSSL_MAX_PROTO=0x0303'])
-      endif
-    endif
   endforeach
 endforeach