Move next_proto_neg_seen into SSL_HANDSHAKE. Change-Id: I7f1d546f735ca854ac58c65b529218afda164ec0 Reviewed-on: https://boringssl-review.googlesource.com/11523 Reviewed-by: Adam Langley <agl@google.com>
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 5235b4d..3a64deb 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c
@@ -2697,7 +2697,8 @@ /* False Start only for TLS 1.2 with an ECDHE+AEAD cipher and ALPN or NPN. */ return !SSL_is_dtls(ssl) && SSL_version(ssl) == TLS1_2_VERSION && - (ssl->s3->alpn_selected || ssl->s3->next_proto_neg_seen) && + (ssl->s3->alpn_selected != NULL || + ssl->s3->next_proto_negotiated != NULL) && cipher != NULL && (cipher->algorithm_mkey == SSL_kECDHE || cipher->algorithm_mkey == SSL_kCECPQ1) &&