projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c21d9e
)
Fix krb5_dbekd_encrypt_key_data()
author
Paul Park
<pjpark@mit.edu>
Thu, 3 Aug 1995 16:05:35 +0000
(16:05 +0000)
committer
Paul Park
<pjpark@mit.edu>
Thu, 3 Aug 1995 16:05:35 +0000
(16:05 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6392
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/kdb/encrypt_key.c
patch
|
blob
|
history
diff --git
a/src/lib/kdb/encrypt_key.c
b/src/lib/kdb/encrypt_key.c
index 272280a00923193d5ab980874b32830b5dda1d19..aecd98c81e748f09227ed59c59435dee02fe2474 100644
(file)
--- a/
src/lib/kdb/encrypt_key.c
+++ b/
src/lib/kdb/encrypt_key.c
@@
-98,6
+98,9
@@
krb5_dbekd_encrypt_key_data(context, eblock, keyblock, keysalt, keyver,key_data)
krb5_xfree(key_data->key_data_contents[0]);
return ENOMEM;
}
+ memcpy(key_data->key_data_contents[1],
+ keysalt->data.data,
+ (size_t) keysalt->data.length);
key_data->key_data_length[1] = keysalt->data.length;
key_data->key_data_type[1] = keysalt->type;
key_data->key_data_ver++;