1gnutls_handshake_set_post_cligennutt_lhse_lhlgaonn_udftsulhnsacktei_osne(t3_)post_client_hello_function(3)
2
3
4

NAME

6       gnutls_handshake_set_post_client_hello_function  -  set  callback to be
7       called after the client hello is received
8

SYNOPSIS

10       #include <gnutls/gnutls.h>
11
12       void   gnutls_handshake_set_post_client_hello_function(gnutls_session_t
13       session, gnutls_handshake_post_client_hello_func func);
14

ARGUMENTS

16       gnutls_session_t session
17                   is a gnutls_session_t structure.
18
19       gnutls_handshake_post_client_hello_func func
20                   is the function to be called
21

DESCRIPTION

23       This  function  will set a callback to be called after the client hello
24       has been received (callback valid in server side only). This allows the
25       server to adjust settings based on received extensions.
26
27       Those  settings  could be ciphersuites, requesting certificate, or any‐
28       thing else except for version negotiation  (this  is  done  before  the
29       hello message is parsed).
30
31       This callback must return 0 on success or a gnutls error code to termi‐
32       nate the handshake.
33

WARNING

35       You should not use this function to terminate the  handshake  based  on
36       client  input  unless you know what you are doing. Before the handshake
37       is finished there is no way to know if  there  is  a  man-in-the-middle
38       attack being performed.
39

REPORTING BUGS

41       Report    bugs    to    <bug-gnutls@gnu.org>.     GnuTLS   home   page:
42       http://www.gnu.org/software/gnutls/ General help  using  GNU  software:
43       http://www.gnu.org/gethelp/
44
46       Copyright © 2008 Free Software Foundation.
47       Copying  and  distribution  of this file, with or without modification,
48       are permitted in any medium  without  royalty  provided  the  copyright
49       notice and this notice are preserved.
50

SEE ALSO

52       The  full  documentation  for gnutls is maintained as a Texinfo manual.
53       If the info and gnutls programs are properly installed  at  your  site,
54       the command
55
56              info gnutls
57
58       should give you access to the complete manual.
59
60
61
62gnutls                      gnutls_ha2n.d8s.h6ake_set_post_client_hello_function(3)
Impressum