Skip to content

Commit

Permalink
Fixed MSVC compile error related to r7408.
Browse files Browse the repository at this point in the history
Version 2.1.6.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7419 e7ae566f-a301-0410-adde-c780ea21d3b5
  • Loading branch information
jamesyonan committed Jul 6, 2011
1 parent a1193ac commit 9a10540
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -599,8 +599,7 @@ setenv_x509_track (const struct x509_track *xt, struct env_set *es, const int de
case NID_sha1:
{
int i;
const int hl = SHA_DIGEST_LENGTH*3+1;
char hash_str[hl];
char hash_str[SHA_DIGEST_LENGTH*3+1];
char *hs = hash_str;
const unsigned char *src = x509->sha1_hash;
for (i = 0; i < SHA_DIGEST_LENGTH; ++i)
Expand Down
2 changes: 1 addition & 1 deletion version.m4
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dnl define the OpenVPN version
define(PRODUCT_VERSION,[2.1.5])
define(PRODUCT_VERSION,[2.1.6])
dnl define the TAP version
define(PRODUCT_TAP_ID,[tap0901])
define(PRODUCT_TAP_WIN32_MIN_MAJOR,[9])
Expand Down

0 comments on commit 9a10540

Please sign in to comment.