1
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
2
.TH "gnutls_handshake_set_random" 3 "3.2.2" "gnutls" "gnutls"
4
gnutls_handshake_set_random \- API function
6
.B #include <gnutls/gnutls.h>
8
.BI "int gnutls_handshake_set_random(gnutls_session_t " session ", const gnutls_datum_t* " random ");"
10
.IP "gnutls_session_t session" 12
11
is a \fBgnutls_session_t\fP structure.
12
.IP "const gnutls_datum_t* random" 12
13
a random value of 32\-bytes
15
This function will explicitly set the server or client hello
16
random value in the subsequent TLS handshake. The random value
17
should be a 32\-byte value.
19
Note that this function should not normally be used as gnutls
20
will select automatically a random value for the handshake.
22
This function should not be used when resuming a session.
24
\fBGNUTLS_E_SUCCESS\fP on success, or an error code.
28
Report bugs to <bug-gnutls@gnu.org>.
30
General guidelines for reporting bugs: http://www.gnu.org/gethelp/
32
GnuTLS home page: http://www.gnu.org/software/gnutls/
35
Copyright \(co 2001-2013 Free Software Foundation, Inc..
37
Copying and distribution of this file, with or without modification,
38
are permitted in any medium without royalty provided the copyright
39
notice and this notice are preserved.
41
The full documentation for
43
is maintained as a Texinfo manual. If the
47
programs are properly installed at your site, the command
51
should give you access to the complete manual.
52
As an alternative you may obtain the manual from:
54
.B http://www.gnu.org/software/gnutls/manual/