summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJoseph Sutton <josephsutton@catalyst.net.nz>2021-10-26 20:47:53 +1300
committerJule Anger <janger@samba.org>2021-11-08 10:46:44 +0100
commit169a4d4d1407e392ad1462536206eeec5b0f887e (patch)
treea33ebb6c6308286fbf6b61362cf3fc55cac1ffc9 /python
parentef65925a41e10911821e56fa492ccd0262ea0533 (diff)
downloadsamba-169a4d4d1407e392ad1462536206eeec5b0f887e.tar.gz
CVE-2020-25719 tests/krb5: Allow update_pac_checksums=True if the PAC is not present
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561 Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python')
-rw-r--r--python/samba/tests/krb5/raw_testcase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/tests/krb5/raw_testcase.py b/python/samba/tests/krb5/raw_testcase.py
index 18ee8738eaa..39ca4a69e1c 100644
--- a/python/samba/tests/krb5/raw_testcase.py
+++ b/python/samba/tests/krb5/raw_testcase.py
@@ -3293,7 +3293,7 @@ class RawKerberosTest(TestCaseInTempDir):
self.assertFalse(checksum_keys)
self.assertFalse(include_checksums)
- expect_pac = update_pac_checksums or modify_pac_fn is not None
+ expect_pac = modify_pac_fn is not None
key = ticket.decryption_key