From 0a3466fc3915786ee8e84ea0c0992da3debd0b71 Mon Sep 17 00:00:00 2001 From: "S.J.R. van Schaik" Date: Fri, 7 Jul 2017 16:50:25 +0200 Subject: [PATCH] rots-utils: implement a temporary threshold. --- source/verify.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/verify.c b/source/verify.c index 60990b9..0b84e32 100644 --- a/source/verify.c +++ b/source/verify.c @@ -238,5 +238,9 @@ int do_verify(int argc, char *argv[]) printf("%zu/%zu signatures are correct.\n", count, total); + /* TODO: implement a configurable threshold. */ + if (count < total) + return -1; + return 0; }