From b5ce15eefa5b3e949d71a640cf03a0c0f42805ae Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 2 May 2016 12:34:00 +0200 Subject: [PATCH] priv: Fix client banner specification for libssh BUG: https://red.libssh.org/issues/231 Signed-off-by: Andreas Schneider (cherry picked from commit 4f7be0dbb21cb0dd68f4f2b0ad28e1b4fa474082) --- include/libssh/priv.h | 4 ++-- 1 file 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 :) */