summaryrefslogtreecommitdiff
path: root/openvpn/src/openvpn/ssl.c
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2014-01-11 15:22:26 +0100
committerArne Schwabe <arne@rfc2549.org>2014-01-11 15:22:26 +0100
commit383044cf103dac085463d07beb5f3ab495a08453 (patch)
treee01a581a179ff1ceb32dc327a731f1fa8f7f89c7 /openvpn/src/openvpn/ssl.c
parentdd6f4ac1248e73106cf54ba78856dc27265bc5e1 (diff)
Update Openvpn, fix config parser for trailing whitespace on <foo> and </bar> optionsv0.6.4
Diffstat (limited to 'openvpn/src/openvpn/ssl.c')
-rw-r--r--openvpn/src/openvpn/ssl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openvpn/src/openvpn/ssl.c b/openvpn/src/openvpn/ssl.c
index 15518cab..c61701a7 100644
--- a/openvpn/src/openvpn/ssl.c
+++ b/openvpn/src/openvpn/ssl.c
@@ -1331,7 +1331,7 @@ tls1_P_hash(const md_kt_t *md_kt,
int olen)
{
struct gc_arena gc = gc_new ();
- int chunk,n;
+ int chunk;
hmac_ctx_t ctx;
hmac_ctx_t ctx_tmp;
uint8_t A1[MAX_HMAC_KEY_LENGTH];
@@ -1357,7 +1357,6 @@ tls1_P_hash(const md_kt_t *md_kt,
hmac_ctx_update(&ctx,seed,seed_len);
hmac_ctx_final(&ctx, A1);
- n=0;
for (;;)
{
hmac_ctx_reset(&ctx);