summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_x509_crt_set_flags
blob: 581e86ae8a86814c4ef6f502446a6cd674e27936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
@deftypefun {void} {gnutls_x509_crt_set_flags} (gnutls_x509_crt_t @var{cert}, unsigned int @var{flags})
@var{cert}: A type @code{gnutls_x509_crt_t} 

@var{flags}: flags from the @code{gnutls_x509_crt_flags} 

This function will set flags for the specified certificate.
Currently this is useful for the @code{GNUTLS_X509_CRT_FLAG_IGNORE_SANITY} 
which allows importing certificates even if they have known issues.

@strong{Since:} 3.6.0
@end deftypefun