From 5292d76ed9cf46af8c94677d6e9df1ab93670e4c Mon Sep 17 00:00:00 2001 From: mdw Date: Sun, 8 Oct 2000 12:08:10 +0000 Subject: [PATCH] Escape literal newlines in output string. --- twofish-mktab.c | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/twofish-mktab.c b/twofish-mktab.c index e30d4cc..35f6049 100644 --- a/twofish-mktab.c +++ b/twofish-mktab.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: twofish-mktab.c,v 1.3 2000/06/26 17:14:42 mdw Exp $ + * $Id: twofish-mktab.c,v 1.4 2000/10/08 12:08:10 mdw Exp $ * * Build constant tables for Twofish * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: twofish-mktab.c,v $ + * Revision 1.4 2000/10/08 12:08:10 mdw + * Escape literal newlines in output string. + * * Revision 1.3 2000/06/26 17:14:42 mdw * (rslog): Ensure that log(1) = 0 (not 255, as previously). While the two * are strictly equivalent, it means that the exp table is larger than it @@ -389,14 +392,14 @@ static void rslog(void) int main(void) { fputs("\ -/* -*-c-*- - * +/* -*-c-*-\n\ + *\n\ * Twofish q tables [generated]\n\ - */ - -#ifndef CATACOMB_TWOFISH_TAB_H -#define CATACOMB_TWOFISH_TAB_H - + */\n\ +\n\ +#ifndef CATACOMB_TWOFISH_TAB_H\n\ +#define CATACOMB_TWOFISH_TAB_H\n\ +\n\ ", stdout); /* --- The q tables --- */ -- 2.11.0