summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_ocsp_resp_get_version
blob: 71c5d9ef4502269d68945aeeaf53eafb9db432ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
@deftypefun {int} {gnutls_ocsp_resp_get_version} (gnutls_ocsp_resp_const_t @var{resp})
@var{resp}: should contain a @code{gnutls_ocsp_resp_t}  type

This function will return the version of the Basic OCSP Response.
Typically this is always 1 indicating version 1.

@strong{Returns:} version of Basic OCSP response, or a negative error code
on error.
@end deftypefun