[krbdev.mit.edu #2357] lib/gssapi/krb5/k5unseal.c invokes gss_krb5int_unseal_token_v3 with incompatible argument..

Ezra Peisach via RT rt-comment at krbdev.mit.edu
Mon Mar 8 04:06:38 EST 2004




k5unseal.c passes a krb5_context to gss_krb5int_unseal_token_v3.
Now that I added a prototype for that function - it is clear that 
a krb5_context * is expected!!!

The easy fix is in line 552 - change context to &context.

However, I think a cleaner interface would be to change
gss_krb5int_unseal_token_v3 to take a krb5_context.

At the same time, chaneing bodysize to a size_t would probably be good
too.. Or at least unsigned int for compatibility...

      Ezra



More information about the krb5-bugs mailing list