]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
doc: Corrections for gnutls_handshake_set_hook_function()
authorAttila Molnar <attilamolnar@hush.com>
Sun, 15 Jun 2014 15:42:28 +0000 (17:42 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 15 Jun 2014 20:33:52 +0000 (22:33 +0200)
lib/gnutls_state.c

index 1c2704e6c7046818cd8e72027fce978d97074bb4..e57742573c2e6d575f5537e7097fc8e1d453bb2d 100644 (file)
@@ -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,