# HG changeset patch # User Matt Johnston # Date 1603538909 -28800 # Node ID 9efceb851bea33ac0b28793f5aacac4ac1d0b142 # Parent 064f5be2fc45c4842cbfc5fb4523dd5b3d680c8b Make "Too many remote algorithms" exit rather than log It's fatal anyway, makes logs more concise. diff -r 064f5be2fc45 -r 9efceb851bea common-algo.c --- a/common-algo.c Sat Oct 24 18:56:45 2020 +0800 +++ b/common-algo.c Sat Oct 24 19:28:29 2020 +0800 @@ -396,7 +396,7 @@ if (algolist[i] == ',') { if (*ret_count >= max_count) { - dropbear_log(LOG_WARNING, "Too many remote algorithms"); + dropbear_exit("Too many remote algorithms"); *ret_count = 0; return; }