[gnutls-devel] [PATCH] doc: Corrections for gnutls_handshake_set_hook_function()
Attila Molnar
attilamolnar at hush.com
Sun Jun 15 17:52:46 CEST 2014
>From fd9e734f2b65178a7fb9a042a79f23ea75c38d0f Mon Sep 17 00:00:00 2001
From: Attila Molnar <attilamolnar at hush.com>
Date: Sun, 15 Jun 2014 17:42:28 +0200
Subject: [PATCH] doc: Corrections for gnutls_handshake_set_hook_function()
---
lib/gnutls_state.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lib/gnutls_state.c b/lib/gnutls_state.c
index 1c2704e..e577425 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,
--
More information about the Gnutls-devel
mailing list