diff options
author | Tim Kosse <tim.kosse@filezilla-project.org> | 2016-05-30 09:45:29 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-05-30 10:14:57 +0200 |
commit | dab4dedf337caa6b4d16f1c8511a1290637667f4 (patch) | |
tree | f75fa0f508c9ff36dceb2136266cc28004b91b7d /lib/x509/x509_int.h | |
parent | a148bbbe964e5f1aef76e7ef4bc3ebd24d901864 (diff) | |
download | gnutls-dab4dedf337caa6b4d16f1c8511a1290637667f4.tar.gz |
Added functions to parse the TLSFeatures X.509 extension.
In addition provide function to enumerate the features it lists,
and output information with the output functions.
This adds:
gnutls_x509_tlsfeatures_init
gnutls_x509_tlsfeatures_deinit
gnutls_x509_tlsfeatures_get
gnutls_x509_ext_import_tlsfeatures
gnutls_x509_crt_get_tlsfeatures
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/x509/x509_int.h')
-rw-r--r-- | lib/x509/x509_int.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/x509/x509_int.h b/lib/x509/x509_int.h index 2c275f4b45..b6f3e5fd96 100644 --- a/lib/x509/x509_int.h +++ b/lib/x509/x509_int.h @@ -484,4 +484,11 @@ int _gnutls_x509_name_constraints_merge(gnutls_x509_name_constraints_t nc, void _gnutls_x509_policies_erase(gnutls_x509_policies_t policies, unsigned int seq); +struct gnutls_x509_tlsfeatures_st { + struct { + uint16_t feature; + } *features; + unsigned int size; +}; + #endif |