summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/krb/rd_cred.c
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>1997-09-02 01:38:33 +0000
committerTom Yu <tlyu@mit.edu>1997-09-02 01:38:33 +0000
commitc5e0910ec10ec1f2b2d1af239294c69276f232fb (patch)
tree8645067053144ff3e4f314094c546acd279f4faf /src/lib/krb5/krb/rd_cred.c
parentede361e617b6db26f36b3a09c3c4811eb047751f (diff)
downloadkrb5-c5e0910ec10ec1f2b2d1af239294c69276f232fb.tar.gz
krb5-c5e0910ec10ec1f2b2d1af239294c69276f232fb.tar.xz
krb5-c5e0910ec10ec1f2b2d1af239294c69276f232fb.zip
* rd_cred.c (krb5_rd_cred_basic): Fix swapped args to memset
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10188 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/krb/rd_cred.c')
-rw-r--r--src/lib/krb5/krb/rd_cred.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/rd_cred.c b/src/lib/krb5/krb/rd_cred.c
index edbc96e64c..c66f71c27d 100644
--- a/src/lib/krb5/krb/rd_cred.c
+++ b/src/lib/krb5/krb/rd_cred.c
@@ -95,7 +95,7 @@ krb5_rd_cred_basic(context, pcreddata, pkeyblock, local_addr, remote_addr,
if ((retval = decode_krb5_cred(pcreddata, &pcred)))
return retval;
- memset(&encpart, sizeof(encpart), 0);
+ memset(&encpart, 0, sizeof(encpart));
if ((retval = decrypt_credencdata(context, pcred, pkeyblock, &encpart)))
goto cleanup_cred;