chiark / gitweb /
sigkey handling: define MAX_SIG_KEYS
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 29 Sep 2019 19:28:46 +0000 (20:28 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 30 Dec 2019 13:15:49 +0000 (13:15 +0000)
This is going to control the number of different public keys we will
use from a keyset, and also the number we will look at when listed as
acceptable by a relying peer.

No users yet in this commit, though.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
secnet.h

index dd5650d03f98c6451aaa3335e611ef700b3580b5..f7bb3e5685128c7fdf0290f93e1ac17bb824ebca 100644 (file)
--- a/secnet.h
+++ b/secnet.h
@@ -49,6 +49,7 @@
 /* send at most this many copies; honour at most that many addresses */
 
 #define MAX_NAK_MSG 80
+#define MAX_SIG_KEYS 4
 
 struct hash_if;
 struct comm_if;