summaryrefslogtreecommitdiff
path: root/lib/includes/gnutls/ocsp.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-11-29 14:27:44 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-02-19 15:29:36 +0100
commit74b73eab2460119dd7d5a3add2a1425c462f54b2 (patch)
tree503d16786d8426cf34be9ed2c9523988c1aa77f7 /lib/includes/gnutls/ocsp.h
parent6a4251c035772691b6928cd7e24c194e5adcfc4b (diff)
downloadgnutls-74b73eab2460119dd7d5a3add2a1425c462f54b2.tar.gz
gnutls_ocsp_resp_list_import2: introduced
That is, introduced function to to import multiple OCSP PEM responses into a list. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/includes/gnutls/ocsp.h')
-rw-r--r--lib/includes/gnutls/ocsp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/includes/gnutls/ocsp.h b/lib/includes/gnutls/ocsp.h
index 996875d780..966e1d5b8c 100644
--- a/lib/includes/gnutls/ocsp.h
+++ b/lib/includes/gnutls/ocsp.h
@@ -268,6 +268,13 @@ int gnutls_ocsp_resp_verify(gnutls_ocsp_resp_t resp,
int gnutls_ocsp_resp_check_crt(gnutls_ocsp_resp_t resp,
unsigned int indx, gnutls_x509_crt_t crt);
+int
+gnutls_ocsp_resp_list_import2(gnutls_ocsp_resp_t **ocsps,
+ unsigned int *size,
+ const gnutls_datum_t *resp_data,
+ gnutls_x509_crt_fmt_t format,
+ unsigned int flags);
+
/* *INDENT-OFF* */
#ifdef __cplusplus
}