mark export grade RC4 as weak
authorSam Hartman <hartmans@mit.edu>
Tue, 31 Mar 2009 22:36:03 +0000 (22:36 +0000)
committerSam Hartman <hartmans@mit.edu>
Tue, 31 Mar 2009 22:36:03 +0000 (22:36 +0000)
Set the weak enctype flag on the 40-bit RC4.

ticket: 6437
target_version: 1.7
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22152 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/etypes.c

index 1c969ae020b2d4a90ab28a37f19985508f75f077..e7f547b91a98692f94d6284376250d176d945f08 100644 (file)
@@ -137,7 +137,8 @@ const struct krb5_keytypes krb5_enctypes_list[] = {
       NULL, /*PRF*/
       CKSUMTYPE_HMAC_MD5_ARCFOUR,
       &krb5int_aead_arcfour,
-      0 /*flags*/ },
+      ETYPE_WEAK
+    },
 
     { ENCTYPE_AES128_CTS_HMAC_SHA1_96,
       "aes128-cts-hmac-sha1-96", { "aes128-cts" },