From 672801c4182cc549131d171561086b13993c14b2 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 31 Oct 2012 00:10:58 +0000 Subject: Fix wrong tag + syntax Sphinx can't handle --- doc/tls.rst | 8 ++++---- 1 file 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> next_protocol) + const Server_Information& server_info, \ + const Protocol_Version offer_version, \ + std::function > 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 `. 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 -- cgit v1.2.3