projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbd0da9
)
kadm5_setkey_principal_3 not copying key_data_ver and key_data_kvno
author
Alexandra Ellwood
<lxs@mit.edu>
Wed, 25 Jun 2008 19:50:11 +0000
(19:50 +0000)
committer
Alexandra Ellwood
<lxs@mit.edu>
Wed, 25 Jun 2008 19:50:11 +0000
(19:50 +0000)
Added lines to copy these fields.
ticket: new
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20472
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/kadm5/srv/svr_principal.c
patch
|
blob
|
history
diff --git
a/src/lib/kadm5/srv/svr_principal.c
b/src/lib/kadm5/srv/svr_principal.c
index e7c56633871a31c1fd4b0c5fad7ca32f38faf841..4fb114f3570a0a26e60a80b5b96051fd1442cf05 100644
(file)
--- a/
src/lib/kadm5/srv/svr_principal.c
+++ b/
src/lib/kadm5/srv/svr_principal.c
@@
-1891,6
+1891,8
@@
kadm5_setkey_principal_3(void *server_handle,
goto done;
}
tptr = &kdb.key_data[i];
+ tptr->key_data_ver = tmp_key_data.key_data_ver;
+ tptr->key_data_kvno = tmp_key_data.key_data_kvno;
for (k = 0; k < tmp_key_data.key_data_ver; k++) {
tptr->key_data_type[k] = tmp_key_data.key_data_type[k];
tptr->key_data_length[k] = tmp_key_data.key_data_length[k];