kauth-retire-SPECIAL-macro-20010711
[openafs.git] / src / kauth / kadatabase.c
index 2903452..d4288ea 100644 (file)
@@ -388,9 +388,6 @@ afs_int32 ka_NewKey (tt, tentryaddr, tentry, key)
   afs_int32 newtotalkeyentries = 0, oldtotalkeyentries = 0, keyentries;
   int   foundcurrentkey = 0, addednewkey = 0, modified;
 
-#if !SPECIAL
-    if ((ntohl(tentry->flags) & KAFSPECIAL) == 0) return KANOTSPECIAL;
-#endif
     es_Report ("Newkey for %s.%s\n", tentry->userID.name, tentry->userID.instance);
 
     newkeyver = ntohl(tentry->key_version) + 1;
@@ -550,10 +547,6 @@ afs_int32 ka_DelKey (tt, tentryaddr, tentry)
     afs_int32 prevptr = 0;
     Date  now = time(0);
 
-#if !SPECIAL
-    if ((ntohl(tentry->flags) & KAFSPECIAL) == 0) return KANOTSPECIAL;
-#endif
-
     es_Report ("DelKey for %s.%s\n", tentry->userID.name, tentry->userID.instance);
 
     /* An entry may have more than one oldkeys blocks. The entry
@@ -721,9 +714,6 @@ afs_int32 ka_LookupKvno (tt, name, inst, kvno, key)
     code = FindBlock (tt, name, inst, &to, &tentry);
     if (code) return code;
     if (to == 0) return KANOENT;
-#if !SPECIAL
-    if ((ntohl(tentry.flags) & KAFSPECIAL) == 0) return KANOTSPECIAL; 
-#endif
 
     /* first check the current key */
     if (tentry.key_version == htonl(kvno)) {
@@ -787,9 +777,6 @@ afs_int32 ka_LookupKey (tt, name, inst, kvno, key)
     code = FindBlock (tt, name, inst, &to, &tentry);
     if (code) return code;
     if (to == 0) return KANOENT;
-#if !SPECIAL
-    if ((ntohl(tentry.flags) & KAFSPECIAL) == 0) return KANOTSPECIAL;
-#endif
     bcopy (&tentry.key, key, sizeof(*key));
     *kvno = ntohl(tentry.key_version);
     ka_Encache (name, inst, *kvno, key, NEVERDATE);