Skip to content

Commit b070bcd

Browse files
committed
Make "Too many remote algorithms" exit rather than log
It's fatal anyway, makes logs more concise.
1 parent 037d26f commit b070bcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common-algo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ static void get_algolist(char* algolist, unsigned int algolist_len,
396396

397397
if (algolist[i] == ',') {
398398
if (*ret_count >= max_count) {
399-
dropbear_log(LOG_WARNING, "Too many remote algorithms");
399+
dropbear_exit("Too many remote algorithms");
400400
*ret_count = 0;
401401
return;
402402
}

0 commit comments

Comments
 (0)