gnutls_ocsp_resp_get_version3
Api function
Usage
int gnutls_ocsp_resp_get_version(gnutls_ocsp_resp_const_t
resp);
Arguments
- gnutls_ocsp_resp_const_t resp
-
should contain a
gnutls_ocsp_resp_ttype
Overview
This function will return the version of the Basic OCSP Response. Typically this is always 1 indicating version 1.
Returns
version of Basic OCSP response, or a negative error code on error.
History
- Arch Linux 2026-11-01: the text shown here
- Debian 13 (Trixie)
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)
- Debian 9 (Stretch)
- Debian 8 (Jessie)