diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-06-15 17:42:28 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-06-15 22:33:52 +0200 |
commit | 6decbbad24f032fea2d9771431d0f8baa549913c (patch) | |
tree | 4b9f8620df5af9951fdf3664299200d01e27f05b | |
parent | 88a9e86a9bb623ed5b36424daec3a9b5debbb3fb (diff) | |
download | gnutls-6decbbad24f032fea2d9771431d0f8baa549913c.tar.gz |
doc: Corrections for gnutls_handshake_set_hook_function()
-rw-r--r-- | lib/gnutls_state.c | 4 |
1 files changed, 1 insertions, 3 deletions
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, |