gnutls_ocsp_req_get_version3
Api function
Usage
#include <gnutls/ocsp.h>
int gnutls_ocsp_req_get_version(gnutls_ocsp_req_const_t req);
Arguments
- gnutls_ocsp_req_const_t req
-
should contain a
gnutls_ocsp_req_ttype
Overview
This function will return the version of the OCSP request. Typically this is always 1 indicating version 1.
Returns
version of OCSP request, or a negative error code on error.
Releases
7 releases since Debian 8 (Jessie); the text changed 6 times.