summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-10-09 14:27:04 -0400
committerGreg Hudson <ghudson@mit.edu>2012-10-09 14:27:04 -0400
commit01f30a7f06110f54c5d69fdd7697347c102f5274 (patch)
treed7103da14e3d895f6c2629647daa3fdde0641759 /src/util
parentfd136728de5b603974e3ec21bc5856406c4e814d (diff)
downloadkrb5-01f30a7f06110f54c5d69fdd7697347c102f5274.tar.gz
krb5-01f30a7f06110f54c5d69fdd7697347c102f5274.tar.xz
krb5-01f30a7f06110f54c5d69fdd7697347c102f5274.zip
De-conditionalize Camellia code
The Camellia enctypes and cksumtypes have received IANA assignments. Add #defines using those assignments to krb5.h, remove the CAMELLIA conditional, and enable testing code as appropriate. The Camellia draft has not received an RFC number yet, so there is no Doxygen markup for the enctype and cksumtype #defines. That can be added once the RFC number is known.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/k5test.py17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/util/k5test.py b/src/util/k5test.py
index 6af782c72..4fd8cf752 100644
--- a/src/util/k5test.py
+++ b/src/util/k5test.py
@@ -1185,15 +1185,14 @@ _passes = [
'master_key_type' : 'aes128-cts'}}}}),
# Exercise the camellia256-cts enctype.
-# Enable when Camellia support becomes unconditional.
-# ('camellia256', None,
-# {'all' : {'libdefaults' : {
-# 'default_tgs_enctypes' : 'camellia256-cts',
-# 'default_tkt_enctypes' : 'camellia256-cts',
-# 'permitted_enctypes' : 'camellia256-cts'}}},
-# {'master' : {'realms' : {'$realm' : {
-# 'supported_enctypes' : 'camellia256-cts:normal',
-# 'master_key_type' : 'camellia256-cts'}}}}),
+ ('camellia256', None,
+ {'all' : {'libdefaults' : {
+ 'default_tgs_enctypes' : 'camellia256-cts',
+ 'default_tkt_enctypes' : 'camellia256-cts',
+ 'permitted_enctypes' : 'camellia256-cts'}}},
+ {'master' : {'realms' : {'$realm' : {
+ 'supported_enctypes' : 'camellia256-cts:normal',
+ 'master_key_type' : 'camellia256-cts'}}}}),
# Test a setup with modern principal keys but an old TGT key.
('aes256.destgt', 'des-cbc-crc:normal',