Rename hs->state to hs->tls13_state.
This is to free up the hs->state name for the upper-level handshake
state.
Change-Id: I1183a329f698c56911f3879a91809edad5b5e94e
Reviewed-on: https://boringssl-review.googlesource.com/12695
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
diff --git a/ssl/internal.h b/ssl/internal.h
index d6f19cd..1801ba2 100644
--- a/ssl/internal.h
+++ b/ssl/internal.h
@@ -882,7 +882,9 @@
* or |ssl_hs_ok| if none. */
enum ssl_hs_wait_t wait;
- int state;
+ /* tls13_state is the internal state for the TLS 1.3 handshake. Its values
+ * depend on |do_tls13_handshake| but the starting state is always zero. */
+ int tls13_state;
size_t hash_len;
uint8_t secret[EVP_MAX_MD_SIZE];