From e171f5b11f6518cc69bcc908eee9e11b8a50e7c6 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Tue, 13 May 2003 17:56:20 +0000 Subject: [PATCH] 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 --- src/lib/krb5/krb/preauth2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2