mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
tests/krb5: Don't expect RC4 in ETYPE-INFO2 for a non-error reply
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
79b9aac65b
commit
705e45e37f
@ -2208,7 +2208,7 @@ class RawKerberosTest(TestCaseInTempDir):
|
||||
if etype in (kcrypto.Enctype.AES256, kcrypto.Enctype.AES128):
|
||||
if etype > expected_aes_type:
|
||||
expected_aes_type = etype
|
||||
if etype in (kcrypto.Enctype.RC4,):
|
||||
if etype in (kcrypto.Enctype.RC4,) and expected_error_mode != 0:
|
||||
unexpect_etype_info = False
|
||||
if etype > expected_rc4_type:
|
||||
expected_rc4_type = etype
|
||||
|
Loading…
Reference in New Issue
Block a user