buf[0] = '\0';
buffer_init(&b);
list_hostkey_types(void){	static char buf[1024];	int i;	buf[0] = '\0';	for (i = 0; i < options.num_host_key_files; i++) {		Key *key = sensitive_data.host_keys[i];		if (key == NULL)			continue;		switch (key->type) {		case KEY_RSA:		case KEY_DSA:			strlcat(buf, key_ssh_name(key), sizeof buf);			strlcat(buf, ",", sizeof buf);			break;		}	}	i = strlen(buf);	if (i > 0 && buf[i-1] == ',')		buf[i-1] = '\0';	debug("list_hostkey_types: %s", buf);	return buf;}