KRB5_INT16_MAX

Simo Sorce ssorce at redhat.com
Fri Apr 17 07:48:00 EDT 2009


On Fri, 2009-04-17 at 06:33 -0400, Ezra Peisach wrote:
> Our usage is:
> 
> ./include/krb5/krb5.hin:#define KRB5_INT16_MAX 65535
> ./include/krb5/krb5.hin:#define KRB5_INT16_MIN  (-KRB5_INT16_MAX-1)
> ./lib/gssapi/krb5/init_sec_context.c:            if (credmsg.length+28
> > 
> KRB5_INT16_MAX) {
> 
> (and KRB5_INT16_MIN is not used....)
> 
> 
> So - it should be ok....

Then shouldn't you call it KRB5_UINT16_MAX ?

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the krbdev mailing list