X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/eb31b00e4098ffb93eaf574f70cdd108b6610080..4e66da02f19648ee1be862e67ba1d1fc5549fb7f:/twofish.c diff --git a/twofish.c b/twofish.c index 566ee1e..6f79963 100644 --- a/twofish.c +++ b/twofish.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: twofish.c,v 1.3 2002/01/13 13:37:59 mdw Exp $ + * $Id: twofish.c,v 1.4 2004/04/02 01:03:49 mdw Exp $ * * Implementation of the Twofish cipher * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: twofish.c,v $ + * Revision 1.4 2004/04/02 01:03:49 mdw + * Miscellaneous constification. + * * Revision 1.3 2002/01/13 13:37:59 mdw * Add support for Twofish family keys. * @@ -286,7 +289,7 @@ void twofish_initfk(twofish_ctx *k, const void *buf, size_t sz, void twofish_init(twofish_ctx *k, const void *buf, size_t sz) { - static twofish_fk fk = { { 0 } }; + static const twofish_fk fk = { { 0 } }; twofish_initfk(k, buf, sz, &fk); }