projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix memory leaks.
[u/mdw/catacomb]
/
des-mktab.c
diff --git
a/des-mktab.c
b/des-mktab.c
index
1a984d1
..
a4914b2
100644
(file)
--- a/
des-mktab.c
+++ b/
des-mktab.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: des-mktab.c,v 1.
3 2000/06/17 10:52:14
mdw Exp $
+ * $Id: des-mktab.c,v 1.
4 2000/10/08 12:12:23
mdw Exp $
*
* Build combined S-P tables for DES
*
*
* Build combined S-P tables for DES
*
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: des-mktab.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: des-mktab.c,v $
+ * Revision 1.4 2000/10/08 12:12:23 mdw
+ * Improve @const@-correctness.
+ *
* Revision 1.3 2000/06/17 10:52:14 mdw
* Change name for S-box header file.
*
* Revision 1.3 2000/06/17 10:52:14 mdw
* Change name for S-box header file.
*
@@
-54,7
+57,7
@@
/* --- S boxes --- */
/* --- S boxes --- */
-static char s[8][4][16] = {
+static c
onst c
har s[8][4][16] = {
/* --- S1 --- */
/* --- S1 --- */
@@
-136,7
+139,7
@@
static char p[32] = {
* unique.
*/
* unique.
*/
-static int unique(char *t, int base, int sz, const char *name, ...)
+static int unique(c
onst c
har *t, int base, int sz, const char *name, ...)
{
char u[32];
char nbuf[128];
{
char u[32];
char nbuf[128];