Home
last modified time | relevance | path

Searched refs:server_version_string (Results 1 – 19 of 19) sorted by relevance

/external/openssh/
Dssh_api.c240 ssh->kex->server_version_string == NULL) in ssh_packet_next()
412 if (kex->server_version_string == NULL) in _ssh_exchange_banner()
413 r = _ssh_send_banner(ssh, &kex->server_version_string); in _ssh_exchange_banner()
415 kex->server_version_string != NULL && in _ssh_exchange_banner()
419 if (kex->server_version_string == NULL) in _ssh_exchange_banner()
420 r = _ssh_read_banner(ssh, &kex->server_version_string); in _ssh_exchange_banner()
422 kex->server_version_string != NULL && in _ssh_exchange_banner()
429 if (kex->server_version_string != NULL && in _ssh_exchange_banner()
Dkexdh.c48 const char *server_version_string, in kex_dh_hash() argument
65 (r = sshbuf_put_cstring(b, server_version_string)) != 0 || in kex_dh_hash()
Dkexecdh.c54 const char *server_version_string, in kex_ecdh_hash() argument
71 (r = sshbuf_put_cstring(b, server_version_string)) != 0 || in kex_ecdh_hash()
Dkexgex.c48 const char *server_version_string, in kexgex_hash() argument
68 (r = sshbuf_put_cstring(b, server_version_string)) != 0 || in kexgex_hash()
Dkexc25519.c88 const char *server_version_string, in kex_c25519_hash() argument
105 (r = sshbuf_put_cstring(b, server_version_string)) < 0 || in kex_c25519_hash()
Dsshd.c199 char *server_version_string = NULL; variable
385 xasprintf(&server_version_string, "SSH-%d.%d-%.100s%s%s\r\n", in sshd_exchange_identification()
391 if (atomicio(vwrite, sock_out, server_version_string, in sshd_exchange_identification()
392 strlen(server_version_string)) in sshd_exchange_identification()
393 != strlen(server_version_string)) { in sshd_exchange_identification()
465 chop(server_version_string); in sshd_exchange_identification()
466 debug("Local version string %.200s", server_version_string); in sshd_exchange_identification()
479 server_version_string, client_version_string); in sshd_exchange_identification()
2255 kex->server_version_string=server_version_string;
Dkexc25519s.c115 kex->server_version_string, in input_kex_c25519_init()
Dkexc25519c.c134 kex->server_version_string, in input_kex_c25519_reply()
Dsshconnect.c69 char *server_version_string = NULL; variable
620 server_version_string = xstrdup(buf); in ssh_exchange_identification()
627 if (sscanf(server_version_string, "SSH-%d.%d-%[^\n]\n", in ssh_exchange_identification()
682 chop(server_version_string); in ssh_exchange_identification()
Dkexecdhs.c150 kex->server_version_string, in input_kex_ecdh_init()
Dkexecdhc.c181 kex->server_version_string, in input_kex_ecdh_reply()
Dkex.h151 char *server_version_string; member
Dkexdhs.c170 kex->server_version_string, in input_kex_dh_init()
Dkexdhc.c176 kex->server_version_string, in input_kex_dh()
Dkexgexs.c199 kex->server_version_string, in input_kex_dh_gex_init()
Dkexgexc.c226 kex->server_version_string, in input_kex_dh_gex_reply()
Dsshconnect2.c82 extern char *server_version_string;
217 kex->server_version_string=server_version_string; in ssh_kex2()
Dkex.c609 free(kex->server_version_string); in kex_free()
Dpacket.c2503 (r = sshbuf_put_cstring(m, kex->server_version_string)) != 0) in kex_to_blob()
2703 (r = sshbuf_get_cstring(m, &kex->server_version_string, NULL)) != 0) in kex_from_blob()