Flip SSL_SESSION fields to bool.
Change-Id: I0a3648437f78f37a4b710aaea73084a19be607c5
Reviewed-on: https://boringssl-review.googlesource.com/29485
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: Adam Langley <agl@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
diff --git a/ssl/ssl_session.cc b/ssl/ssl_session.cc
index 0498aaf..703225e 100644
--- a/ssl/ssl_session.cc
+++ b/ssl/ssl_session.cc
@@ -291,7 +291,7 @@
// The new_session does not get a copy of the ex_data.
- new_session->not_resumable = 1;
+ new_session->not_resumable = true;
return new_session;
}
@@ -414,7 +414,7 @@
session->sid_ctx_length = hs->config->cert->sid_ctx_length;
// The session is marked not resumable until it is completely filled in.
- session->not_resumable = 1;
+ session->not_resumable = true;
session->verify_result = X509_V_ERR_INVALID_CALL;
hs->new_session = std::move(session);