diff options
author | lloyd <[email protected]> | 2012-10-31 00:10:58 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-10-31 00:10:58 +0000 |
commit | 672801c4182cc549131d171561086b13993c14b2 (patch) | |
tree | 441c4234f15aa9a00095aae3208e38423d1969a6 /doc/tls.rst | |
parent | b1151e68a512661fa2939d2f1db1c99adb2961d7 (diff) |
Fix wrong tag + syntax Sphinx can't handle
Diffstat (limited to 'doc/tls.rst')
-rw-r--r-- | doc/tls.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/tls.rst b/doc/tls.rst index 36ef80574..f148e632d 100644 --- a/doc/tls.rst +++ b/doc/tls.rst @@ -166,9 +166,9 @@ TLS Clients Credentials_Manager& credendials_manager, \ const TLS::Policy& policy, \ RandomNumberGenerator& rng, \ - const Server_Information& server_info = Server_Information(), \ - const Protocol_Version offer_version = Protocol_Version::latest_tls_version(), - std::function<std::string, std::vector<std::string>> next_protocol) + const Server_Information& server_info, \ + const Protocol_Version offer_version, \ + std::function<std::string, std::vector<std::string> > next_protocol) Initialize a new TLS client. The constructor will immediately initiate a new session. @@ -259,7 +259,7 @@ The first 7 arguments are treated similiarly to the :ref:`client <tls_client>`. The final (optional) argument, protocols, specifies the protocols the server is willing to advertise it supports. -.. cpp:class:: std::string TLS::Server::next_protocol() const +.. cpp:function:: std::string TLS::Server::next_protocol() const If a handshake has completed, and if the client indicated a next protocol (ie, the protocol that it intends to run over this TLS |