tests/krb5: Refactor encryption type selection
commit7f9547fda793af65346708bbe14f8a4995d50a5a
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 3 Jul 2023 02:41:55 +0000 (3 14:41 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 19 Jul 2023 01:47:33 +0000 (19 01:47 +0000)
tree7c35188850e5ddb73989cb47a1286ca50a1dc359
parentef9ffbacb9cdcbcb7da124f617c2f98257d59615
tests/krb5: Refactor encryption type selection

Add and use some methods to calculate the highest supported AES and RC4
encryption types, respectively.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/krb5/raw_testcase.py