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

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: Passing this CL to RyanChung for further work. Created 5 years, 1 month 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
« no previous file with comments | « net/cert/mock_cert_verifier.cc ('k') | net/socket/nss_ssl_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/nss_ssl_util.h
diff --git a/net/socket/nss_ssl_util.h b/net/socket/nss_ssl_util.h
index 5d9ec7e04e88541ff33306ac99d01cd0382cae0e..37ac6d7090a0fd75613969723b3877fa9d8245a8 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,
+ const SSLConfig& ssl_config,
+ int* ssl_connection_status);
} // namespace net
« no previous file with comments | « net/cert/mock_cert_verifier.cc ('k') | net/socket/nss_ssl_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698