summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_x509_crq_set_version
blob: b3be03f74251c5162ce420a0e16985fc9e322b5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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