From: Sam Hartman Date: Tue, 13 May 2003 17:56:20 +0000 (+0000) Subject: Fix minor error in previous commit that broke v4 salts X-Git-Tag: krb5-1.4-beta1~966 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e171f5b11f6518cc69bcc908eee9e11b8a50e7c6;p=krb5.git Fix minor error in previous commit that broke v4 salts Ticket: 1470 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15426 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/preauth2.c b/src/lib/krb5/krb/preauth2.c index 3dadabc97..cdce093b8 100644 --- a/src/lib/krb5/krb/preauth2.c +++ b/src/lib/krb5/krb/preauth2.c @@ -930,7 +930,7 @@ krb5_do_preauth(krb5_context context, scratch.data = (char *) etype_info[l]->salt; scratch.length = etype_info[l]->length; krb5_free_data_contents(context, salt); - if (scratch.length = KRB5_ETYPE_NO_SALT) + if (scratch.length == KRB5_ETYPE_NO_SALT) salt->data = NULL; else if ((ret = krb5int_copy_data_contents( context, &scratch, salt)) != 0)