From 9249006e64470337422f4fd9e176ea2cb7d603e1 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 21 Mar 2009 09:29:31 +0000 Subject: Add a ssh_version function. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@283 7dcaeef0-15fb-0310-b436-a5af3365683c --- include/libssh/priv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/libssh/priv.h') diff --git a/include/libssh/priv.h b/include/libssh/priv.h index e276735..84b4320 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -37,8 +37,8 @@ MA 02111-1307, USA. */ /* some constants */ #define MAX_PACKET_LEN 262144 #define ERROR_BUFFERLEN 1024 -#define CLIENTBANNER1 "SSH-1.5-" LIBSSH_VERSION -#define CLIENTBANNER2 "SSH-2.0-" LIBSSH_VERSION +#define CLIENTBANNER1 "SSH-1.5-libssh-" SSH_STRINGIFY(LIBSSH_VERSION) +#define CLIENTBANNER2 "SSH-2.0-libssh-" SSH_STRINGIFY(LIBSSH_VERSION) #define KBDINT_MAX_PROMPT 256 /* more than openssh's :) */ /* some types for public keys */ #define TYPE_DSS 1 -- cgit