[33] in Kerberos_V5_Development

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

Re: version tags

bjaspan@ATHENA.MIT.EDU (bjaspan@ATHENA.MIT.EDU)
Fri Jan 12 12:57:53 1990

Sounds like a good idea.. about your cons:

1) The extra computrons would be burned on the client side and would
not be terribly significant.

2) The library can easily produce an error message that tells the app
programmer exactly what was done wrong ("krb_get_in_tkt: version tag
not initialized") so each programmer would only make the mistake once.

We'd have to be sure to use strncmp, not strcmp, to prevent problems
with unitialized tag fields.  This is a good reason to use ints, not
char *s.

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