progs/rspit.c: Make the internal tables be const.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 22 Dec 2014 20:32:58 +0000 (20:32 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 22 Mar 2015 01:02:45 +0000 (01:02 +0000)
progs/rspit.c

index b75c6f8..7ca1cce 100644 (file)
@@ -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*/);