projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug in passphrase flushing loop.
[u/mdw/catacomb]
/
des-mktab.c
diff --git
a/des-mktab.c
b/des-mktab.c
index
07cff39
..
ed03fbc
100644
(file)
--- a/
des-mktab.c
+++ b/
des-mktab.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: des-mktab.c,v 1.
1 1999/09/03 08:41:11
mdw Exp $
+ * $Id: des-mktab.c,v 1.
2 1999/12/22 16:02:30
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.2 1999/12/22 16:02:30 mdw
+ * Output the table with the correct new header guard names.
+ *
* Revision 1.1 1999/09/03 08:41:11 mdw
* Initial import.
*
* Revision 1.1 1999/09/03 08:41:11 mdw
* Initial import.
*
@@
-251,7
+254,13
@@
int main(void)
validate();
fputs("\
validate();
fputs("\
-/* DES SP table (generated) */\n\
+/* -*-c-*-\n\
+ *\n\
+ * DES SP table [generated]\n\
+ */\n\
+\n\
+#ifndef CATACOMB_DES_SP_H\n\
+#define CATACOMB_DES_SP_H\n\
\n\
#define DES_SP { \\\n\
", stdout);
\n\
#define DES_SP { \\\n\
", stdout);
@@
-272,7
+281,11
@@
int main(void)
}
printf(" }%s \\\n", i == 7 ? "" : ",");
}
}
printf(" }%s \\\n", i == 7 ? "" : ",");
}
- fputs("}\n", stdout);
+ fputs("\
+}\n\
+\n\
+#endif\n\
+", stdout);
return (0);
}
return (0);
}