diff options
author | David Benjamin <davidben@chromium.org> | 2014-12-04 01:56:39 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2014-12-04 03:22:31 +0300 |
commit | d8a3e78223ddad7e4ad5d21b563e333d9254fb24 (patch) | |
tree | df740ce1c801d3e4757e113bb183781692462efc /ssl/test | |
parent | 90eeb11652c530dfdcb8d5dc31359d7a0822ecae (diff) |
Shush a MSVC bool/int comparison warning.
MSVC doesn't like it when you compare the two.
Change-Id: I03c5ff2e2668ac2e536de8278e3a7c98a3dfd117
Reviewed-on: https://boringssl-review.googlesource.com/2460
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/test')
-rw-r--r-- | ssl/test/bssl_shim.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/test/bssl_shim.cc b/ssl/test/bssl_shim.cc index 8f6ee8d5..30cdab71 100644 --- a/ssl/test/bssl_shim.cc +++ b/ssl/test/bssl_shim.cc @@ -469,7 +469,7 @@ static int do_exchange(SSL_SESSION **out_session, return 2; } - if (is_resume && (SSL_session_reused(ssl) == config->expect_session_miss)) { + if (is_resume && (!!SSL_session_reused(ssl) == config->expect_session_miss)) { fprintf(stderr, "session was%s reused\n", SSL_session_reused(ssl) ? "" : " not"); return 2; |