Skip Menu |

Date: Mon, 8 Mar 2004 04:06:31 -0500 (EST)
From: Ezra Peisach <epeisach@MIT.EDU>
To: krb5-bugs@MIT.EDU
Subject: lib/gssapi/krb5/k5unseal.c invokes gss_krb5int_unseal_token_v3 with incompatible argument..

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...