summaryrefslogtreecommitdiffstats
path: root/src/tests/t_salt.py
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2014-01-06 17:36:02 -0500
committerTom Yu <tlyu@mit.edu>2014-01-06 17:36:02 -0500
commit22942c4fdd376402dc2c9ec0337c70132ce615cb (patch)
tree65308feabde4f8593edc471f6ca5b6dae1897c7a /src/tests/t_salt.py
parentcc26d29b8087e31d0ea1aca6bde45f8935e8b744 (diff)
downloadkrb5-22942c4fdd376402dc2c9ec0337c70132ce615cb.tar.gz
krb5-22942c4fdd376402dc2c9ec0337c70132ce615cb.tar.xz
krb5-22942c4fdd376402dc2c9ec0337c70132ce615cb.zip
Add test for salttype defaulting
ticket: 884
Diffstat (limited to 'src/tests/t_salt.py')
-rwxr-xr-xsrc/tests/t_salt.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/t_salt.py b/src/tests/t_salt.py
index 3214cd2d4a..c07a5740fb 100755
--- a/src/tests/t_salt.py
+++ b/src/tests/t_salt.py
@@ -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.