diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-06-25 01:28:18 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-06-25 16:48:39 +0200 |
commit | 3e8c04a03f4070e23fc737f30c25a79d5958d734 (patch) | |
tree | 23354ba5aec33b7068421524c3e514767a1e42fb /src/data.c | |
parent | nonce: switch to RFC6479 to better support packet reordering (diff) | |
download | wireguard-monolithic-historical-3e8c04a03f4070e23fc737f30c25a79d5958d734.tar.xz wireguard-monolithic-historical-3e8c04a03f4070e23fc737f30c25a79d5958d734.zip |
tests: make fatal
Diffstat (limited to 'src/data.c')
-rw-r--r-- | src/data.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -46,7 +46,7 @@ out: } #ifdef DEBUG -void packet_counter_selftest(void) +bool packet_counter_selftest(void) { bool success = true; unsigned int test_num = 0, i; @@ -129,6 +129,7 @@ void packet_counter_selftest(void) if (success) pr_info("nonce counter self-tests: pass\n"); + return success; } #endif |