aboutsummaryrefslogtreecommitdiffstats
path: root/src/selftest/counter.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/selftest/counter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/selftest/counter.c b/src/selftest/counter.c
index c715dec..1fedb71 100644
--- a/src/selftest/counter.c
+++ b/src/selftest/counter.c
@@ -16,7 +16,7 @@
} \
} while (0)
-void
+bool
noise_counter_selftest(void)
{
struct noise_keypair kp;
@@ -95,4 +95,5 @@ noise_counter_selftest(void)
if (success)
printf("nonce counter self-test: pass\n");
+ return success;
}