Make the ExperimentalProtocol option obsolete.
[tinc] / src / sptps_test.c
index 37b5a5a..131b0f4 100644 (file)
@@ -132,8 +132,8 @@ typedef enum option_t {
        OPT_SPECIAL_CHAR    = 's',
        OPT_TUN             = 't',
        OPT_VERBOSE         = 'v',
-        OPT_CIPHER_SUITES   = 'M',
-        OPT_PREFERRED_SUITE = 'P',
+       OPT_CIPHER_SUITES   = 'M',
+       OPT_PREFERRED_SUITE = 'P',
        OPT_IPV4            = '4',
        OPT_IPV6            = '6',
 
@@ -744,6 +744,8 @@ static int run_test(int argc, char *argv[]) {
                                                ecdsa_free(mykey);
                                                ecdsa_free(hiskey);
                                                return 1;
+                                       } else {
+                                               break;
                                        }
                                }