1gnutls_set_default_export_priority(3)gnutlsgnutls_set_default_export_priority(3)
2
3
4
6 gnutls_set_default_export_priority - API function
7
9 #include <gnutls/compat.h>
10
11 int gnutls_set_default_export_priority(gnutls_session_t session);
12
14 gnutls_session_t session
15 is a gnutls_session_t structure.
16
18 Sets some default priority on the ciphers, key exchange methods, macs
19 and compression methods. This function also includes weak algorithms.
20
21 This is the same as calling:
22
23 gnutls_priority_set_direct (session, "EXPORT", NULL);
24
25 This function is kept around for backwards compatibility, but because
26 of its wide use it is still fully supported. If you wish to allow
27 users to provide a string that specify which ciphers to use (which is
28 recommended), you should use gnutls_priority_set_direct() or
29 gnutls_priority_set() instead.
30
32 GNUTLS_E_SUCCESS on success, or an error code.
33
35 Report bugs to <bugs@gnutls.org>.
36 Home page: http://www.gnutls.org
37
38
40 Copyright © 2001-2014 Free Software Foundation, Inc..
41 Copying and distribution of this file, with or without modification,
42 are permitted in any medium without royalty provided the copyright
43 notice and this notice are preserved.
44
46 The full documentation for gnutls is maintained as a Texinfo manual.
47 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
48 visit
49
50 http://www.gnutls.org/manual/
51
52gnutls 3.3.29gnutls_set_default_export_priority(3)