summaryrefslogtreecommitdiffstats
path: root/include/libssh/priv.h
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-03-21 09:29:31 +0000
committerAndreas Schneider <mail@cynapses.org>2009-03-21 09:29:31 +0000
commit9249006e64470337422f4fd9e176ea2cb7d603e1 (patch)
tree1bf17b3ec94067a513e8e8827b95ce49d5d39cb3 /include/libssh/priv.h
parentc9818a994804f4b6ea30a22b7a42aef701db98d8 (diff)
downloadlibssh-9249006e64470337422f4fd9e176ea2cb7d603e1.tar.gz
libssh-9249006e64470337422f4fd9e176ea2cb7d603e1.tar.xz
libssh-9249006e64470337422f4fd9e176ea2cb7d603e1.zip
Add a ssh_version function.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@283 7dcaeef0-15fb-0310-b436-a5af3365683c
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 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