From: Theodore Tso Date: Fri, 1 Mar 1991 00:42:06 +0000 (+0000) Subject: Added code to initialize the salt information in the kdb entry X-Git-Tag: krb5-1.0-alpha4~151 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=215b78281f0294d7e4be53a2041c33e258a002a9;p=krb5.git Added code to initialize the salt information in the kdb entry git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1821 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/admin/create/kdb5_create.c b/src/admin/create/kdb5_create.c index 6ad008bf4..ee329324d 100644 --- a/src/admin/create/kdb5_create.c +++ b/src/admin/create/kdb5_create.c @@ -312,6 +312,9 @@ struct realm_info *pblock; break; } entry.key = ekey; + entry.salt_type = KRB5_KDB_SALTTYPE_NORMAL; + entry.salt_length = 0; + entry.salt = 0; if (retval = krb5_db_put_principal(&entry, &nentries)) return retval;