]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Add test for salttype defaulting
authorTom Yu <tlyu@mit.edu>
Mon, 6 Jan 2014 22:36:02 +0000 (17:36 -0500)
committerTom Yu <tlyu@mit.edu>
Mon, 6 Jan 2014 22:36:02 +0000 (17:36 -0500)
ticket: 884

src/tests/t_salt.py

index 3214cd2d4aade0e2a11462523c447753079fa562..c07a5740fbd85f7b8dcb6a20c060557888f39fb1 100755 (executable)
@@ -27,7 +27,8 @@ salts = [('des-cbc-crc:afs3', 'AFS version 3'),
          ('des-cbc-crc:v4', 'Version 4'),
          ('aes128-cts-hmac-sha1-96:special', 'Special')]
 # These enctypes are chosen to cover the different string-to-key routines.
-second_kstypes = ['aes256-cts-hmac-sha1-96:normal', 'arcfour-hmac:normal',
+# Omit ":normal" from aes256 to check that salttype defaulting works.
+second_kstypes = ['aes256-cts-hmac-sha1-96', 'arcfour-hmac:normal',
                   'des3-cbc-sha1:normal', 'des-cbc-crc:normal']
 
 # Test using different salt types in a principal's key list.