aboutsummaryrefslogtreecommitdiff
path: root/include
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 10:58:47 +0200
commitb5ce15eefa5b3e949d71a640cf03a0c0f42805ae (patch)
tree98cf592d88f0c709d7f1a0af1a631a5441d784ce /include
parenta3688ada1a6145429837e5768ced6c2933a53e35 (diff)
downloadlibssh-b5ce15eefa5b3e949d71a640cf03a0c0f42805ae.tar.gz
libssh-b5ce15eefa5b3e949d71a640cf03a0c0f42805ae.tar.xz
libssh-b5ce15eefa5b3e949d71a640cf03a0c0f42805ae.zip
priv: Fix client banner specification for libssh
BUG: https://red.libssh.org/issues/231 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 4f7be0dbb21cb0dd68f4f2b0ad28e1b4fa474082)
Diffstat (limited to 'include')
-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 9b34b247..97cbcfc1 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 :) */