sorry, i screwed up the "polite" patch which i submitted earlier.
Here's a corrected version that actually compiles and tests properly
on a debian sarge machine. The patch should be identical for the
packages in sid or etch.
--- krb5-1.3.6/src/lib/gssapi/krb5/canon_name.c.orig 2006-02-08
01:41:54.000000000 -0500
+++ krb5-1.3.6/src/lib/gssapi/krb5/canon_name.c 2006-02-08 01:35:45.000000000
-0500
@@ -34,8 +34,9 @@
const gss_OID mech_type,
gss_name_t *output_name)
{
- if (!g_OID_equal(gss_mech_krb5, mech_type) &&
- !g_OID_equal(gss_mech_krb5_old, mech_type)) {
+ if ((GSS_C_NO_OID != mech_type) &&
+ ((!g_OID_equal(gss_mech_krb5, mech_type) &&
+ !g_OID_equal(gss_mech_krb5_old, mech_type)))) {
*minor_status = 0;
return(GSS_S_BAD_MECH);
}
Regards,
--dkg
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]