diff options
Diffstat (limited to 'common-algo.c')
-rw-r--r-- | common-algo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common-algo.c b/common-algo.c index 8b39892..7d015a8 100644 --- a/common-algo.c +++ b/common-algo.c @@ -381,7 +381,7 @@ static void get_algolist(char* algolist, unsigned int algolist_len, } if (algolist_len > MAX_PROPOSED_ALGO*(MAX_NAME_LEN+1)) { *ret_count = 0; - } + } /* ret_list will contain a list of the strings parsed out. We will have at least one string (even if it's just "") */ @@ -392,11 +392,11 @@ static void get_algolist(char* algolist, unsigned int algolist_len, /* someone is trying something strange */ *ret_count = 0; return; - } + } if (algolist[i] == ',') { if (*ret_count >= max_count) { - /* Too many */ + dropbear_log(LOG_WARNING, "Too many remote algorithms"); *ret_count = 0; return; } |