[435] in Kerberos-V5-bugs

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

"flags" argument should not have been added to krb5_recvauth

daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Mon Mar 7 18:25:24 1994

Date: Mon, 7 Mar 1994 18:25:25 -0500
From: "Jonathan I. Kamens" <jik@security.ov.com>
To: krb5-bugs@MIT.EDU

	Beta 3 added a "flags" argument to the krb5_recvauth function
that the function didn't have in beta 2.  I can't see any reason at
all to make a backward-incompatible change like this, especially
since, as src/doc/api/krb5.tex says, "For non-library callers,
\funcparam{flags} should be 0."  It would have been much, much better
to add a function like krb5_recvauth_internal to the library, and make
krb5_recvauth call it with a flags value of 0 and return the result.

	I think this should be fixed in the way I describe, even
though it means making yet another backward-incompatible change,
because it makes no sense to put an argument that people "just
shouldn't use" in a visible function.

Jonathan Kamens | OpenVision Technologies, Inc. | jik@security.ov.com

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