fix erroneous define of process_v4
authorJohn Kohl <jtkohl@mit.edu>
Thu, 14 Feb 1991 14:50:54 +0000 (14:50 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 14 Feb 1991 14:50:54 +0000 (14:50 +0000)
add norealm_salt

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

src/kdc/kdc_util.h

index 4f78c95e16f147d7dba0b428d8eaa26a7f0ff6a7..10bc56a5fb1b091100f417b1c0519a332bbcdb26 100644 (file)
@@ -72,7 +72,15 @@ void kdc_insert_lookaside PROTOTYPE((krb5_data *, krb5_data *));
 #define clear(flagfield, flag) (flagfield &= ~(flag))
 
 #define realm_of_tgt(ticket) krb5_princ_realm(ticket->server)
+#ifdef KRB4
+krb5_error_code process_v4 PROTOTYPE((const krb5_data *,
+                                     krb5_fulladdr *,
+                                     krb5_data **));
+#else
 #define process_v4(foo,bar,foobar)     KRB5KRB_AP_ERR_BADVERSION
+#endif
+
+#define norealm_salt(princ, retdata) krb5_principal2salt(&(princ)[1], retdata)
 
 #ifndef        min
 #define        min(a, b)       ((a) < (b) ? (a) : (b))