diff options
author | Armin Burgmeier <armin@arbur.net> | 2014-09-17 12:30:44 -0400 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-09-24 10:01:58 +0200 |
commit | bbf41a686e4242cca240e8bc2287dd47ba324219 (patch) | |
tree | 09a0bfb11401bd2e18ce758999ce098dec839aee /lib/includes/gnutls/x509.h | |
parent | f6cad553329aa9ac0de7f4752dbef0ae421bf524 (diff) | |
download | gnutls-bbf41a686e4242cca240e8bc2287dd47ba324219.tar.gz |
Add a function to obtain the trust list of a gnutls_certificate_credentials_t
Signed-off-by: Armin Burgmeier <armin@arbur.net>
Diffstat (limited to 'lib/includes/gnutls/x509.h')
-rw-r--r-- | lib/includes/gnutls/x509.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/includes/gnutls/x509.h b/lib/includes/gnutls/x509.h index a64d5dcb6e..c8313824dd 100644 --- a/lib/includes/gnutls/x509.h +++ b/lib/includes/gnutls/x509.h @@ -1362,6 +1362,9 @@ gnutls_x509_trust_list_add_system_trust(gnutls_x509_trust_list_t void gnutls_certificate_set_trust_list (gnutls_certificate_credentials_t res, gnutls_x509_trust_list_t tlist, unsigned flags); +void gnutls_certificate_get_trust_list + (gnutls_certificate_credentials_t res, + gnutls_x509_trust_list_t *tlist); typedef struct gnutls_x509_ext_st { char *oid; |