[1053] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

Definition of krb5_authdatatype

daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Thu Jan 26 10:24:27 1995

From: epeisach@MIT.EDU
Date: Thu, 26 Jan 1995 10:24:20 -0500
To: krb5-bugs@MIT.EDU


krb5_authdatatype is defined to be an int in base-defs.h. 
In lib/krb5/ccache/stdio/scc_read.c krb5_scc_read_authdatum, the
following exists:
    kret = krb5_scc_read_ui_2(context, id, &a->ad_type);

krb5_scc_read_ui_2 is defined as:

krb5_scc_read_ui_2(context, id, i)
   krb5_context context;
   krb5_ccache id;
   krb5_ui_2 *i;


Wouldn't it make sense to change krb5_authdatatype to be a krb5_ui_2?
Unless, perhaphs it really should be an int.... 

I have not tracked down the ramifications of possibly changing this...

	Ezra

home help back first fref pref prev next nref lref last post