summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_x509_crt_set_flags
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_x509_crt_set_flags')
-rw-r--r--doc/functions/gnutls_x509_crt_set_flags15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/functions/gnutls_x509_crt_set_flags b/doc/functions/gnutls_x509_crt_set_flags
new file mode 100644
index 0000000..581e86a
--- /dev/null
+++ b/doc/functions/gnutls_x509_crt_set_flags
@@ -0,0 +1,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