#include "ssh_crypto_common.h" #include /* We need the first algorithm in the client side, so search l first */ int search_name(name_list l, const char *s) { size_t ns = 1; size_t i,j; const char *p; if (*s=='\0') return -1; for (p=s; *p; p++) { if (*p==',') ns++; } const char *start[ns], *end[ns]; p = s; for (i=0; i