1gnutls_ecc_curve_set_enabled(3)     gnutls     gnutls_ecc_curve_set_enabled(3)
2
3
4

NAME

6       gnutls_ecc_curve_set_enabled - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int gnutls_ecc_curve_set_enabled(gnutls_ecc_curve_t curve, unsigned int
12       enabled);
13

ARGUMENTS

15       gnutls_ecc_curve_t curve
16                   is an ECC curve
17
18       unsigned int enabled
19                   whether to enable the curve
20

DESCRIPTION

22       Modify the previous system wide setting that marked  curve  as  enabled
23       or disabled.  Calling this fuction is allowed only if allowlisting mode
24       is set in the configuration file, and only if the system-wide TLS  pri‐
25       ority  string  has  not been initialized yet.  The intended usage is to
26       provide applications with a way to expressly deviate from the distribu‐
27       tion or site defaults inherited from the configuration file.  The modi‐
28       fication is composable with further modifications performed through the
29       priority string mechanism.
30
31       This  function  is  not thread-safe and is intended to be called in the
32       main thread at the beginning of the process execution.
33

RETURNS

35       0 on success or negative error code otherwise.
36

SINCE

38       3.7.3
39

REPORTING BUGS

41       Report bugs to <bugs@gnutls.org>.
42       Home page: https://www.gnutls.org
43
44
46       Copyright © 2001- Free Software Foundation, Inc., and others.
47       Copying and distribution of this file, with  or  without  modification,
48       are  permitted in any medium without royalty provided the copyright no‐
49       tice and this notice are preserved.
50

SEE ALSO

52       The full documentation for gnutls is maintained as  a  Texinfo  manual.
53       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
54       visit
55
56       https://www.gnutls.org/manual/
57
58gnutls                               3.7.8     gnutls_ecc_curve_set_enabled(3)
Impressum