version identifier expanded to provide more info
win32 port says if Visual Studio was used (Win32 port with VS ). MingW compiler version would say "Win32 port" .
This commit is contained in:
parent
4d952924e1
commit
f4fa821b6a
|
@ -681,9 +681,14 @@ send_client_banner(int connection_out, int minor1)
|
|||
xasprintf(&client_version_string, "SSH-%d.%d-%.100s\r\n",
|
||||
PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION);
|
||||
#else
|
||||
#ifdef WIN32_VS
|
||||
xasprintf(&client_version_string, "SSH-%d.%d-%.100sp1 Microsoft Win32 port with VS %s\r\n",
|
||||
PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION, __DATE__ );
|
||||
#else
|
||||
xasprintf(&client_version_string, "SSH-%d.%d-%.100sp1 Microsoft Win32 port %s\r\n",
|
||||
PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION, __DATE__ );
|
||||
#endif
|
||||
#endif
|
||||
} else {
|
||||
xasprintf(&client_version_string, "SSH-%d.%d-%.100s\n",
|
||||
PROTOCOL_MAJOR_1, minor1, SSH_VERSION);
|
||||
|
|
Loading…
Reference in New Issue