+Mon Sep 1 21:37:36 1997 Tom Yu <tlyu@mit.edu>
+
+ * decomp_tkt.c (decomp_ticket): Fix swapped args to memset.
+
Tue Aug 12 09:10:41 1997 Ezra Peisach <epeisach@mit.edu>
* Makefile.in (OSSRCS): Add $(srcdir)/ to source location.
setbuf(fp, keybuf);
fwrite(tkt->dat, 1, tkt->length, fp);
fclose(fp);
- memset(keybuf, sizeof(keybuf), 0); /* Clear the buffer */
+ memset(keybuf, 0, sizeof(keybuf)); /* Clear the buffer */
}
#endif
pcbc_encrypt((C_Block *)tkt->dat,(C_Block *)tkt->dat,
setbuf(fp, keybuf);
fwrite(tkt->dat, 1, tkt->length, fp);
fclose(fp);
- memset(keybuf, sizeof(keybuf), 0); /* Clear the buffer */
+ memset(keybuf, 0, sizeof(keybuf)); /* Clear the buffer */
}
#endif