progs/rspit.c: Make the internal tables be const.
[catacomb] / 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*/);