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

Unified Diff: net/socket/nss_ssl_util.h

Issue 994743003: Support for client certs in ssl_server_socket. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/nss_ssl_util.h
diff --git a/net/socket/nss_ssl_util.h b/net/socket/nss_ssl_util.h
index 7b046ffd282aec5c1a066220fbd6580865cfe03b..8577926d0fefc3e508eb0d58466a4b243d2845dc 100644
--- a/net/socket/nss_ssl_util.h
+++ b/net/socket/nss_ssl_util.h
@@ -17,6 +17,7 @@
namespace net {
class BoundNetLog;
+struct SSLConfig;
// Initalize NSS SSL library.
NET_EXPORT void EnsureNSSSSLInit();
@@ -40,6 +41,12 @@ int MapNSSError(PRErrorCode err);
NetLog::ParametersCallback CreateNetLogSSLErrorCallback(int net_error,
int ssl_lib_error);
+// Extracts various aspects of the connection status from the socket denoted
+// by |nss_fd| and the |ssl_config| and updates the value at
+// |ssl_connection_status| accordingly.
+void UpdateSSLConnectionStatus(PRFileDesc* nss_fd,
Ryan Sleevi 2015/03/19 04:38:24 I'm generally uneasy with moving this into a commo
+ const SSLConfig& ssl_config,
+ int* ssl_connection_status);
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698