Chromium Code Reviews| Index: net/socket/ssl_server_socket.h |
| diff --git a/net/socket/ssl_server_socket.h b/net/socket/ssl_server_socket.h |
| index 5737974be074ba7c993ec51452e65dc093e142e3..249c5b93ac7559c91a2b0d1b88d30f6068f630eb 100644 |
| --- a/net/socket/ssl_server_socket.h |
| +++ b/net/socket/ssl_server_socket.h |
| @@ -31,6 +31,13 @@ class SSLServerSocket : public SSLSocket { |
| virtual int Handshake(const CompletionCallback& callback) = 0; |
| }; |
| +// Configures the underlying SSL library for the use of SSL server sockets. |
| +// |
| +// Due to the requirements of the underlying libraries, this should be called |
| +// early in process initialization, before any SSL socket, client or server, |
| +// has been used. |
|
wtc
2012/06/12 21:29:45
Please add something like:
If a process doesn't
|
| +NET_EXPORT void EnableSSLServerSockets(); |
| + |
| // Creates an SSL server socket over an already-connected transport socket. |
| // The caller must provide the server certificate and private key to use. |
| // |