[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] miscellaneous mechglue stuff




>The change to *accept* MD5 should still be applied of course.

Would it not be better to switch the test around so that CKSUMTYPE_GSSAPI
is tested instead?

        if (authenticator->cksum->cksumtype == CKSUMTYPE_GSSAPI) {
            ret = gssapi_krb5_verify_8003_checksum(minor_status,
                                                   input_chan_bindings,
                                                   authenticator->cksum,
                                                   &flags,
                                                   &fwd_data);
        } else {
            ret = krb5_verify_checksum(gssapi_krb5_context,
                                       NULL, 0, NULL, 0,
                                       authenticator->cksum);
        }

cheers,

-- Luke

--