1gnutls_ecc_curve_set_enabled(3) gnutls gnutls_ecc_curve_set_enabled(3)
2
3
4
6 gnutls_ecc_curve_set_enabled - API function
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_ecc_curve_set_enabled(gnutls_ecc_curve_t curve, unsigned int
12 enabled);
13
15 gnutls_ecc_curve_t curve
16 is an ECC curve
17
18 unsigned int enabled
19 whether to enable the curve
20
22 Modify the previous system wide setting that marked curve as enabled
23 or disabled. This only has effect when the curve is enabled through
24 the allowlisting mode in the configuration file, or when the setting is
25 modified with a prior call to this function.
26
27 This function must be called prior to any session priority setting
28 functions; otherwise the behavior is undefined.
29
31 0 on success or negative error code otherwise.
32
34 3.7.3
35
37 Report bugs to <bugs@gnutls.org>.
38 Home page: https://www.gnutls.org
39
40
42 Copyright © 2001- Free Software Foundation, Inc., and others.
43 Copying and distribution of this file, with or without modification,
44 are permitted in any medium without royalty provided the copyright no‐
45 tice and this notice are preserved.
46
48 The full documentation for gnutls is maintained as a Texinfo manual.
49 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
50 visit
51
52 https://www.gnutls.org/manual/
53
54gnutls 3.7.6 gnutls_ecc_curve_set_enabled(3)