krb5 commit: Add test for salttype defaulting

Tom Yu tlyu at MIT.EDU
Mon Jan 6 17:48:03 EST 2014


https://github.com/krb5/krb5/commit/22942c4fdd376402dc2c9ec0337c70132ce615cb
commit 22942c4fdd376402dc2c9ec0337c70132ce615cb
Author: Tom Yu <tlyu at mit.edu>
Date:   Mon Jan 6 17:36:02 2014 -0500

    Add test for salttype defaulting
    
    ticket: 884

 src/tests/t_salt.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/tests/t_salt.py b/src/tests/t_salt.py
index 3214cd2..c07a574 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.


More information about the cvs-krb5 mailing list