projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5259f9d
)
need to initialize salt in all cases
author
John Kohl
<jtkohl@mit.edu>
Mon, 18 Feb 1991 16:34:44 +0000
(16:34 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Mon, 18 Feb 1991 16:34:44 +0000
(16:34 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1718
dc483132
-0cff-0310-8789-
dd5450dbe970
src/admin/edit/kdb5_edit.c
patch
|
blob
|
history
diff --git
a/src/admin/edit/kdb5_edit.c
b/src/admin/edit/kdb5_edit.c
index 8123e754a6b1412a8807884d65fa3abd9244187e..b0b19890d81eeb39fe63454fdccced301e2fb7a0 100644
(file)
--- a/
src/admin/edit/kdb5_edit.c
+++ b/
src/admin/edit/kdb5_edit.c
@@
-394,6
+394,10
@@
OLDDECLARG(struct saltblock *, salt)
newentry.salt_type = salt->salttype;
newentry.salt_length = salt->saltdata.length;
newentry.salt = (krb5_octet *) salt->saltdata.data;
+ } else {
+ newentry.salt_type = KRB5_KDB_SALTTYPE_NORMAL;
+ newentry.salt_length = 0;
+ newentry.salt = 0;
}
retval = krb5_db_put_principal(&newentry, &one);