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 |