diff options
author | Andreas Schneider <asn@samba.org> | 2020-06-30 17:12:17 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2020-07-01 14:56:33 +0000 |
commit | d30865014569f4b9a1261d9f0c40bc4fc98f883e (patch) | |
tree | 8813ccb24f72463f39b661786a1e1a9d22ef0cb6 /python | |
parent | cabf873b75b1d4d456190358bc3ed051bca16978 (diff) | |
download | samba-d30865014569f4b9a1261d9f0c40bc4fc98f883e.tar.gz |
tls: Use NORMAL:-VERS-SSL3.0 as the default configuration
This seems to be really broken in GnuTLS and the documentation is also
not correct.
This partially reverts 53e3a959b958a3b099df6ecc5f6e294e96bd948e
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14408
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Jul 1 14:56:33 UTC 2020 on sn-devel-184
Diffstat (limited to 'python')
-rw-r--r-- | python/samba/tests/docs.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/python/samba/tests/docs.py b/python/samba/tests/docs.py index 10339702a97..135be830521 100644 --- a/python/samba/tests/docs.py +++ b/python/samba/tests/docs.py @@ -29,22 +29,6 @@ import multiprocessing import concurrent.futures import tempfile -config_h = os.path.join("bin/default/include/config.h") -config_hash = dict() - -if os.path.exists(config_h): - config_hash = dict() - f = open(config_h, 'r') - try: - lines = f.readlines() - config_hash = dict((x[0], ' '.join(x[1:])) - for x in map(lambda line: line.strip().split(' ')[1:], - list(filter(lambda line: (line[0:7] == '#define') and (len(line.split(' ')) > 2), lines)))) - finally: - f.close() - -have_gnutls_system_config_support = ("HAVE_GNUTLS_SET_DEFAULT_PRIORITY_APPEND" in config_hash) - class TestCase(samba.tests.TestCaseInTempDir): def _format_message(self, parameters, message): @@ -234,11 +218,6 @@ class SmbDotConfTests(TestCase): 'smbd max async dosmode', ]) - # 'tls priority' has a legacy default value if we don't link against a - # modern GnuTLS version. - if not have_gnutls_system_config_support: - special_cases.add('tls priority') - def setUp(self): super(SmbDotConfTests, self).setUp() # create a minimal smb.conf file for testparm |