Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Unified Diff: net/socket/ssl_session_cache_openssl.cc

Issue 687833002: Get net_unittests working on Windows BoringSSL port. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wincrypt
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/socket/ssl_session_cache_openssl.cc
diff --git a/net/socket/ssl_session_cache_openssl.cc b/net/socket/ssl_session_cache_openssl.cc
index 65b5aaf8e81893c496b58fda4efc5843f2170de9..92ae44b9ac526a1e9b84137e04de0923c461d7ba 100644
--- a/net/socket/ssl_session_cache_openssl.cc
+++ b/net/socket/ssl_session_cache_openssl.cc
@@ -250,7 +250,7 @@ class SSLSessionCacheOpenSSLImpl {
void* session_is_good =
SSL_SESSION_get_ex_data(session, GetSSLSessionExIndex());
- return session_is_good;
+ return session_is_good != NULL;
}
void MarkSSLSessionAsGood(SSL* ssl) {

Powered by Google App Engine
This is Rietveld 408576698