1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-08-07 08:02:56 +03:00

Adhere to RFC4253 better and don't use dash in the banner string. Bug #2064371

This commit is contained in:
Daniel Stenberg
2008-09-29 13:42:41 +00:00
parent 99afc66665
commit bd3dfed7e8
2 changed files with 8 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
/* Copyright (c) 2004-2007, Sara Golemon <sarag@libssh2.org>
/* Copyright (c) 2004-2008, Sara Golemon <sarag@libssh2.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms,
@@ -82,7 +82,11 @@ typedef unsigned long long libssh2_uint64_t;
typedef long long libssh2_int64_t;
#endif
#define LIBSSH2_VERSION "0.19.0-CVS"
/* We use underscore instead of dash when appending CVS in dev versions just
to make the BANNER define (used by src/session.c) be a valid SSH
banner. Release versions have no appended strings and may of coruse not
have dashes either. */
#define LIBSSH2_VERSION "0.19.0_CVS"
/* The numeric version number is also available "in parts" by using these
defines: */