From: Mark Wooding Date: Mon, 22 Dec 2014 20:32:58 +0000 (+0000) Subject: progs/rspit.c: Make the internal tables be const. X-Git-Tag: 2.2.0~7^2~10 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb/commitdiff_plain/cbef819a1a9286e0cffbb3783a1467eab85824bd progs/rspit.c: Make the internal tables be const. --- diff --git a/progs/rspit.c b/progs/rspit.c index b75c6f87..7ca1cce8 100644 --- a/progs/rspit.c +++ b/progs/rspit.c @@ -174,7 +174,7 @@ enum { CIPHERS CIPHER__bogus }; enum { HASHES HASH__bogus }; #undef E -static struct { +static const struct { const octet *keysz; size_t blksz; grand *(*ofb)(const void */*k*/, size_t /*sz*/); @@ -186,7 +186,7 @@ static struct { #undef E }; -static struct { +static const struct { const gchash *h; const octet *keysz; grand *(*mgf)(const void */*k*/, size_t /*sz*/);