Blame doc/functions/gnutls_handshake_set_random

Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
@deftypefun {int} {gnutls_handshake_set_random} (gnutls_session_t @var{session}, const gnutls_datum_t * @var{random})
Packit Service 4684c1
@var{session}: is a @code{gnutls_session_t}  type.
Packit Service 4684c1
Packit Service 4684c1
@var{random}: a random value of 32-bytes
Packit Service 4684c1
Packit Service 4684c1
This function will explicitly set the server or client hello 
Packit Service 4684c1
random value in the subsequent TLS handshake. The random value 
Packit Service 4684c1
should be a 32-byte value.
Packit Service 4684c1
Packit Service 4684c1
Note that this function should not normally be used as gnutls
Packit Service 4684c1
will select automatically a random value for the handshake.
Packit Service 4684c1
Packit Service 4684c1
This function should not be used when resuming a session.
Packit Service 4684c1
Packit Service 4684c1
@strong{Returns:} @code{GNUTLS_E_SUCCESS}  on success, or an error code.
Packit Service 4684c1
Packit Service 4684c1
Since 3.1.9
Packit Service 4684c1
@end deftypefun