projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
868a314
)
Clear replaydata block before calling mk_safe_basic
author
Paul Park
<pjpark@mit.edu>
Thu, 27 Apr 1995 20:42:03 +0000
(20:42 +0000)
committer
Paul Park
<pjpark@mit.edu>
Thu, 27 Apr 1995 20:42:03 +0000
(20:42 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5571
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/mk_safe.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/mk_safe.c
b/src/lib/krb5/krb/mk_safe.c
index 47238c4906c010e2b161d36049e6e32f0acc9ec6..29eac3ee3661a9c8f45257f39fee41d30ce61ffb 100644
(file)
--- a/
src/lib/krb5/krb/mk_safe.c
+++ b/
src/lib/krb5/krb/mk_safe.c
@@
-129,6
+129,9
@@
krb5_mk_safe(context, auth_context, userdata, outbuf, outdata)
krb5_keyblock * keyblock;
krb5_replay_data replaydata;
+ /* Clear replaydata block */
+ memset((char *) &replaydata, 0, sizeof(krb5_replay_data));
+
/* Get keyblock */
if ((keyblock = auth_context->local_subkey) == NULL)
if ((keyblock = auth_context->remote_subkey) == NULL)