27 lines
621 B
Diff
27 lines
621 B
Diff
|
From 948be5b4a813e814e36be23a63817df283e8db91 Mon Sep 17 00:00:00 2001
|
||
|
From: Guus Sliepen <guus@tinc-vpn.org>
|
||
|
Date: Tue, 10 Aug 2021 23:08:52 +0200
|
||
|
Subject: [PATCH 07/10] Fix infinite loop on SPTPS errors when running
|
||
|
sptps_test in datagram mode.
|
||
|
|
||
|
---
|
||
|
src/sptps_test.c | 2 ++
|
||
|
1 file changed, 2 insertions(+)
|
||
|
|
||
|
diff --git a/src/sptps_test.c b/src/sptps_test.c
|
||
|
index 32ed62d3..7e5977ed 100644
|
||
|
--- a/src/sptps_test.c
|
||
|
+++ b/src/sptps_test.c
|
||
|
@@ -721,6 +721,8 @@ static int run_test(int argc, char *argv[]) {
|
||
|
free(mykey);
|
||
|
free(hiskey);
|
||
|
return 1;
|
||
|
+ } else {
|
||
|
+ break;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
--
|
||
|
2.36.0
|
||
|
|