summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_x509_crq_set_version
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_x509_crq_set_version')
-rw-r--r--doc/functions/gnutls_x509_crq_set_version15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/functions/gnutls_x509_crq_set_version b/doc/functions/gnutls_x509_crq_set_version
new file mode 100644
index 0000000..b3be03f
--- /dev/null
+++ b/doc/functions/gnutls_x509_crq_set_version
@@ -0,0 +1,15 @@
+
+
+
+
+@deftypefun {int} {gnutls_x509_crq_set_version} (gnutls_x509_crq_t @var{crq}, unsigned int @var{version})
+@var{crq}: should contain a @code{gnutls_x509_crq_t} type
+
+@var{version}: holds the version number, for v1 Requests must be 1
+
+This function will set the version of the certificate request. For
+version 1 requests this must be one.
+
+@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
+negative error value.
+@end deftypefun