From: Mark Wooding Date: Sun, 22 Sep 2019 13:45:41 +0000 (+0100) Subject: server/test.c: Don't segfault if the keyring is bogus. X-Git-Tag: 1.5.1~4 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/commitdiff_plain/86b67990c7beddcee2b389d955e94643ebe643d6?hp=32b550bd74bfc1ff1cde9720e22f4984d9e86d93 server/test.c: Don't segfault if the keyring is bogus. --- diff --git a/server/test.c b/server/test.c index 152a6fe6..73656ec1 100644 --- a/server/test.c +++ b/server/test.c @@ -132,6 +132,7 @@ int main(int argc, char *argv[]) args = argv + optind; km_init(kr, kr, tag); + if (!master) die(3, "failed to load the master key"); trace_on(stderr, tr_flags); arg = getarg();