From 206f3ff895d3d822ac4f23426136537129f9f062 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 28 Jun 2018 17:52:58 +0200 Subject: Rest in Peace SSHv1 Signed-off-by: Andreas Schneider Reviewed-by: Jakub Jelen --- include/libssh/priv.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'include/libssh/priv.h') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index 17fb7e92..4af3ad9b 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -146,12 +146,11 @@ int gettimeofday(struct timeval *__p, void *__t); #ifndef ERROR_BUFFERLEN #define ERROR_BUFFERLEN 1024 #endif -#ifndef CLIENTBANNER1 -#define CLIENTBANNER1 "SSH-1.5-libssh_" SSH_STRINGIFY(LIBSSH_VERSION) -#endif -#ifndef CLIENTBANNER2 -#define CLIENTBANNER2 "SSH-2.0-libssh_" SSH_STRINGIFY(LIBSSH_VERSION) -#endif + +#ifndef CLIENT_BANNER_SSH2 +#define CLIENT_BANNER_SSH2 "SSH-2.0-libssh_" SSH_STRINGIFY(LIBSSH_VERSION) +#endif /* CLIENT_BANNER_SSH2 */ + #ifndef KBDINT_MAX_PROMPT #define KBDINT_MAX_PROMPT 256 /* more than openssh's :) */ #endif -- cgit v1.2.3