X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/eb31b00e4098ffb93eaf574f70cdd108b6610080..4e66da02f19648ee1be862e67ba1d1fc5549fb7f:/blowfish.c diff --git a/blowfish.c b/blowfish.c index 2821a45..c57ebb2 100644 --- a/blowfish.c +++ b/blowfish.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: blowfish.c,v 1.2 2000/06/17 10:47:56 mdw Exp $ + * $Id: blowfish.c,v 1.3 2004/04/02 01:03:49 mdw Exp $ * * The Blowfish block cipher * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: blowfish.c,v $ + * Revision 1.3 2004/04/02 01:03:49 mdw + * Miscellaneous constification. + * * Revision 1.2 2000/06/17 10:47:56 mdw * Tidy round function a little. Support new key size interface. * @@ -50,7 +53,7 @@ /*----- Global variables --------------------------------------------------*/ -static blowfish_ctx ikey = BLOWFISH_IKEY; +static const blowfish_ctx ikey = BLOWFISH_IKEY; const octet blowfish_keysz[] = { KSZ_RANGE, BLOWFISH_KEYSZ, 1, 56, 1 };