From: Bodo Möller <bodo@openssl.org>
Date: Thu, 26 Aug 2010 14:54:18 +0000 (+0000)
Subject: Patch from PR #1833 was broken: there's no s->s3->new_session
X-Git-Tag: OpenSSL_1_0_1-beta1~473
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=02ba02604c9aa1d0abb6225c6b111e72672bfb6a;p=oweals%2Fopenssl.git

Patch from PR #1833 was broken: there's no s->s3->new_session
(only s->new_session).
---

diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c
index dec84188ee..ca75175926 100644
--- a/ssl/s3_lib.c
+++ b/ssl/s3_lib.c
@@ -2226,7 +2226,6 @@ void ssl3_clear(SSL *s)
 
 	s->packet_length=0;
 	s->s3->renegotiate=0;
-	s->s3->new_session=0;
 	s->s3->total_renegotiations=0;
 	s->s3->num_renegotiations=0;
 	s->s3->in_read_app_data=0;
@@ -3327,4 +3326,3 @@ need to go to SSL_ST_ACCEPT.
 		}
 	return(ret);
 	}
-