summaryrefslogtreecommitdiff
path: root/lib/x509/x509_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/x509/x509_int.h')
-rw-r--r--lib/x509/x509_int.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/x509/x509_int.h b/lib/x509/x509_int.h
index 198a69d500..85c4e17b42 100644
--- a/lib/x509/x509_int.h
+++ b/lib/x509/x509_int.h
@@ -85,6 +85,10 @@ typedef struct gnutls_x509_crt_int {
gnutls_datum_t der;
+ /* this cached value allows fast access to alt names */
+ gnutls_subject_alt_names_t san;
+ gnutls_subject_alt_names_t ian;
+
/* backwards compatibility for gnutls_x509_crt_get_subject()
* and gnutls_x509_crt_get_issuer() */
gnutls_x509_dn_st dn;