[1071] in Kerberos-V5-bugs

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

send_tgs and authorization data declaration....

daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Sun Feb 5 09:03:53 1995

From: epeisach@MIT.EDU
Date: Sun, 5 Feb 1995 09:03:35 -0500
To: krb5-bugs@MIT.EDU



I have been wrestling with the declaraion of the authorization data
issue...

Conclussion: Maybe a better declaraion would be:

const krb5_authdata * const * authorization_data;

instead of

(i)    krb5_authdata * const * authorization_data;

or 

(ii)    const krb5_authdata ** authorization_data;

depending on which part of the sources you refer to....

Reasoning: You want a pointer to a const pointer to const krb5_authdata
instead of: 

(i) pointer to const pointer to krb5_authdata 

or

(ii) pointer pointer to const krb5_authdata

For the routine, if I am not mistaken, you want the authorization data
to be constant, and the routine does not seem to muck with the pointer
to said data....

I think this will cause a trickle down effect to the routines which are
referenced thereafter, but all are consistant... (also, don;t forget the
doc directory).

	Ezra

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