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/handshake_client.cc b/ssl/handshake_client.cc index 391aa29..bb67235 100644 --- a/ssl/handshake_client.cc +++ b/ssl/handshake_client.cc
@@ -1581,7 +1581,7 @@ } if (renewed_session) { - session->not_resumable = 0; + session->not_resumable = false; SSL_SESSION_free(ssl->session); ssl->session = renewed_session.release(); } @@ -1635,7 +1635,7 @@ } // Renegotiations do not participate in session resumption. if (!ssl->s3->initial_handshake_complete) { - ssl->s3->established_session->not_resumable = 0; + ssl->s3->established_session->not_resumable = false; } hs->new_session.reset();