Blame doc/functions/gnutls_x509_trust_list_add_system_trust

Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
@deftypefun {int} {gnutls_x509_trust_list_add_system_trust} (gnutls_x509_trust_list_t @var{list}, unsigned int @var{tl_flags}, unsigned int @var{tl_vflags})
Packit aea12f
@var{list}: The structure of the list
Packit aea12f
Packit aea12f
@var{tl_flags}: GNUTLS_TL_*
Packit aea12f
Packit aea12f
@var{tl_vflags}: gnutls_certificate_verify_flags if flags specifies GNUTLS_TL_VERIFY_CRL
Packit aea12f
Packit aea12f
This function adds the system's default trusted certificate
Packit aea12f
authorities to the trusted list. Note that on unsupported systems
Packit aea12f
this function returns @code{GNUTLS_E_UNIMPLEMENTED_FEATURE} .
Packit aea12f
Packit aea12f
This function implies the flag @code{GNUTLS_TL_NO_DUPLICATES} .
Packit aea12f
Packit aea12f
@strong{Returns:} The number of added elements or a negative error code on error.
Packit aea12f
Packit aea12f
@strong{Since:} 3.1
Packit aea12f
@end deftypefun