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

« back to all changes in this revision

Viewing changes to doc/functions/gnutls_init

  • 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:
15
15
 @code{flags} can be one of @code{GNUTLS_CLIENT}  and @code{GNUTLS_SERVER} . For a DTLS
16
16
entity, the flags @code{GNUTLS_DATAGRAM}  and  @code{GNUTLS_NONBLOCK}  are
17
17
also available. The latter flag will enable a non-blocking
18
 
operation of the DTLS timers.
 
18
operation of the DTLS timers. 
 
19
 
 
20
The flag @code{GNUTLS_NO_REPLAY_PROTECTION}  will disable any 
 
21
replay protection in DTLS mode. That must only used when 
 
22
replay protection is achieved using other means.
 
23
 
 
24
Note that since version 3.1.2 this function enables some common
 
25
TLS extensions such as session tickets and OCSP certificate status
 
26
request in client side by default. To prevent that use the @code{GNUTLS_NO_EXTENSIONS} 
 
27
flag.
19
28
 
20
29
@strong{Returns:} @code{GNUTLS_E_SUCCESS}  on success, or an error code.
21
30
@end deftypefun