aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/priv.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2016-05-02 12:34:00 +0200
committerAndreas Schneider <asn@cryptomilk.org>2016-05-03 09:41:26 +0200
commit4f7be0dbb21cb0dd68f4f2b0ad28e1b4fa474082 (patch)
tree56d51b92542e2860dc98e96a108dd69b54b8096f /include/libssh/priv.h
parent1da5c94b44ea2610450aacda24d9789859942926 (diff)
downloadlibssh-4f7be0dbb21cb0dd68f4f2b0ad28e1b4fa474082.tar.gz
libssh-4f7be0dbb21cb0dd68f4f2b0ad28e1b4fa474082.tar.xz
libssh-4f7be0dbb21cb0dd68f4f2b0ad28e1b4fa474082.zip
priv: Fix client banner specification for libssh
BUG: https://red.libssh.org/issues/231 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/priv.h')
-rw-r--r--include/libssh/priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index a4e08cac..da07d93a 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -146,10 +146,10 @@ int gettimeofday(struct timeval *__p, void *__t);
#define ERROR_BUFFERLEN 1024
#endif
#ifndef CLIENTBANNER1
-#define CLIENTBANNER1 "SSH-1.5-libssh-" SSH_STRINGIFY(LIBSSH_VERSION)
+#define CLIENTBANNER1 "SSH-1.5-libssh_" SSH_STRINGIFY(LIBSSH_VERSION)
#endif
#ifndef CLIENTBANNER2
-#define CLIENTBANNER2 "SSH-2.0-libssh-" SSH_STRINGIFY(LIBSSH_VERSION)
+#define CLIENTBANNER2 "SSH-2.0-libssh_" SSH_STRINGIFY(LIBSSH_VERSION)
#endif
#ifndef KBDINT_MAX_PROMPT
#define KBDINT_MAX_PROMPT 256 /* more than openssh's :) */