search for: client_bann

Displaying 1 result from an estimated 1 matches for "client_bann".

Did you mean: client_banner
2018 Dec 10
2
[PATCH] cleanup of global variables server/client_version_string in sshconnect.c
...ing = NULL; -char *server_version_string = NULL; -struct sshkey *previous_host_key = NULL; +static struct sshkey *previous_host_key = NULL; static int matching_host_key_dns = 0; @@ -605,16 +603,16 @@ ssh_connect(struct ssh *ssh, const char *host, struct addrinfo *addrs, } static void -send_client_banner(int connection_out, int minor1) +send_client_banner(int connection_out, int minor1, char **client_version_stringp) { /* Send our own protocol version identification. */ - xasprintf(&client_version_string, "SSH-%d.%d-%.100s\r\n", + xasprintf(client_version_stringp, "SSH-%d.%d...