From: Theodore Tso Date: Fri, 11 Mar 1994 23:02:26 +0000 (+0000) Subject: Fixed krb5-bugs [0437]: X-Git-Tag: krb5-1.0-beta4~232 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1f86f138999bacaade2579f15954c153957adbfb;p=krb5.git Fixed krb5-bugs [0437]: The norealm_salt macro, which is defined in src/kdc/kdc_util.h, src/admin/edit/kdb5_edit.c, and src/kadmin/server/adm_funcs.c, is wrong and needs to be fixed. It will cause a coredump if it's ever actually invoked. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3450 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/kdc_util.h b/src/kdc/kdc_util.h index 0e5cacb38..1015d3df3 100644 --- a/src/kdc/kdc_util.h +++ b/src/kdc/kdc_util.h @@ -103,8 +103,6 @@ krb5_error_code process_v4 PROTOTYPE((const krb5_data *, #define process_v4(foo,bar,quux,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)) #define max(a, b) ((a) > (b) ? (a) : (b))