From: Attila Molnar Date: Sun, 15 Jun 2014 15:42:28 +0000 (+0200) Subject: doc: Corrections for gnutls_handshake_set_hook_function() X-Git-Tag: gnutls_3_3_5~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6decbbad24f032fea2d9771431d0f8baa549913c;p=thirdparty%2Fgnutls.git doc: Corrections for gnutls_handshake_set_hook_function() --- diff --git a/lib/gnutls_state.c b/lib/gnutls_state.c index 1c2704e6c7..e57742573c 100644 --- a/lib/gnutls_state.c +++ b/lib/gnutls_state.c @@ -1402,7 +1402,7 @@ gnutls_handshake_set_random(gnutls_session_t session, * handshake message has been received or generated. This is a * generalization of gnutls_handshake_set_post_client_hello_function(). * - * To call the hook function prior to the message being sent/generation use + * To call the hook function prior to the message being sent/generated use * %GNUTLS_HOOK_PRE as @post parameter, %GNUTLS_HOOK_POST to call * after, and %GNUTLS_HOOK_BOTH for both cases. * @@ -1415,8 +1415,6 @@ gnutls_handshake_set_random(gnutls_session_t session, * handshake based on client input unless you know what you are * doing. Before the handshake is finished there is no way to know if * there is a man-in-the-middle attack being performed. - * - * Returns: %GNUTLS_E_SUCCESS on success, or an error code. **/ void gnutls_handshake_set_hook_function(gnutls_session_t session,