From: Andy Polyakov <appro@openssl.org>
Date: Wed, 3 Oct 2007 10:18:06 +0000 (+0000)
Subject: Set client_version earlier in DTLS (this is 0.9.8 specific).
X-Git-Tag: OpenSSL_0_9_8f~7
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d4736ae701cf2c5b4961066214ab03e8bce216aa;p=oweals%2Fopenssl.git

Set client_version earlier in DTLS (this is 0.9.8 specific).
---

diff --git a/ssl/d1_pkt.c b/ssl/d1_pkt.c
index 6a68dd110e..b1248770b5 100644
--- a/ssl/d1_pkt.c
+++ b/ssl/d1_pkt.c
@@ -561,6 +561,7 @@ again:
 			goto f_err;
 			}
 
+		s->client_version = version;
 		/* now s->rstate == SSL_ST_READ_BODY */
 		}