~ubuntu-branches/ubuntu/saucy/gnutls28/saucy

« back to all changes in this revision

Viewing changes to doc/manpages/gnutls_handshake_set_random.3

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-07-30 21:40:07 UTC
  • mfrom: (14.1.9 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130730214007-9mrd08xo61kla008
Tags: 3.2.3-1ubuntu1
* Sync with Debian (LP: #1068029). Remaining change:
  - Drop gnutls-bin and -doc since we want to use the versions
    in gnutls26 as the defaults instead

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
 
2
.TH "gnutls_handshake_set_random" 3 "3.2.2" "gnutls" "gnutls"
 
3
.SH NAME
 
4
gnutls_handshake_set_random \- API function
 
5
.SH SYNOPSIS
 
6
.B #include <gnutls/gnutls.h>
 
7
.sp
 
8
.BI "int gnutls_handshake_set_random(gnutls_session_t " session ", const gnutls_datum_t* " random ");"
 
9
.SH ARGUMENTS
 
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
 
14
.SH "DESCRIPTION"
 
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.
 
18
 
 
19
Note that this function should not normally be used as gnutls
 
20
will select automatically a random value for the handshake.
 
21
 
 
22
This function should not be used when resuming a session.
 
23
.SH "RETURNS"
 
24
\fBGNUTLS_E_SUCCESS\fP on success, or an error code.
 
25
 
 
26
Since 3.1.9
 
27
.SH "REPORTING BUGS"
 
28
Report bugs to <bug-gnutls@gnu.org>.
 
29
.br
 
30
General guidelines for reporting bugs: http://www.gnu.org/gethelp/
 
31
.br
 
32
GnuTLS home page: http://www.gnu.org/software/gnutls/
 
33
 
 
34
.SH COPYRIGHT
 
35
Copyright \(co 2001-2013 Free Software Foundation, Inc..
 
36
.br
 
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.
 
40
.SH "SEE ALSO"
 
41
The full documentation for
 
42
.B gnutls
 
43
is maintained as a Texinfo manual.  If the
 
44
.B info
 
45
and
 
46
.B gnutls
 
47
programs are properly installed at your site, the command
 
48
.IP
 
49
.B info gnutls
 
50
.PP
 
51
should give you access to the complete manual.
 
52
As an alternative you may obtain the manual from:
 
53
.IP
 
54
.B http://www.gnu.org/software/gnutls/manual/
 
55
.PP