Set error code on wrong lm.length.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19466 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-12-20 00:46:53 +00:00
parent 60e458b33b
commit fadaad6712

View File

@@ -820,6 +820,7 @@ _kdc_do_digest(krb5_context context,
if (ireq.u.ntlmRequest.lm.length != 24) {
krb5_set_error_string(context, "LM hash have wrong length "
"for NTLM session key");
ret = EINVAL;
goto out;
}