tests/krb5: Fix sha1 checksum type
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 5 Oct 2021 03:32:01 +0000 (16:32 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Oct 2021 18:59:31 +0000 (18:59 +0000)
Previously, sha1 signatures were being designated as rsa-md5-des3
signatures.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

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

index 4a4a12a66d4df461f79db6658964ac5a7a3db366..4bf38d3c36bf98ec80671f9ca15035c0bacace71 100755 (executable)
@@ -81,8 +81,8 @@ class Cksumtype(object):
     MD4_DES = 3
     MD5 = 7
     MD5_DES = 8
-    SHA1 = 9
     SHA1_DES3 = 12
+    SHA1 = 14
     SHA1_AES128 = 15
     SHA1_AES256 = 16
     HMAC_MD5 = -138