diff options
author | Bodo Möller <bodo@openssl.org> | 2011-11-24 21:07:01 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2011-11-24 21:07:01 +0000 |
commit | 6f31dd72d28b5b2b75c50a54ed2666cab963922a (patch) | |
tree | d4d9702dbed91f5bdc1194098097265e284d0b0c /ssl/s3_clnt.c | |
parent | 4521eda739b330c0de7a7822be5e08e100fcce62 (diff) |
Fix NPN implementation for renegotiation.
(Problem pointed out by Ben Murphy.)
Submitted by: Adam Langley
Diffstat (limited to 'ssl/s3_clnt.c')
-rw-r--r-- | ssl/s3_clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index 5597e13bb0..a32978be30 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -465,7 +465,7 @@ int ssl3_connect(SSL *s) #if defined(OPENSSL_NO_TLSEXT) || defined(OPENSSL_NO_NEXTPROTONEG) s->state=SSL3_ST_CW_FINISHED_A; #else - if (s->next_proto_negotiated) + if (s->s3->next_proto_neg_seen) s->state=SSL3_ST_CW_NEXT_PROTO_A; else s->state=SSL3_ST_CW_FINISHED_A; |