chiark
/
gitweb
/
~mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d6fab4f
)
progs/rspit.c: Make the internal tables be const.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 22 Dec 2014 20:32:58 +0000
(20:32 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 22 Mar 2015 01:02:45 +0000
(
01:02
+0000)
progs/rspit.c
patch
|
blob
|
blame
|
history
diff --git
a/progs/rspit.c
b/progs/rspit.c
index b75c6f87e7d493bf98fa466cd1f1807315621eea..7ca1cce836fd7fb9070070479714a1c5834fdb68 100644
(file)
--- 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*/);