summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509_lcl.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/x509/x509_lcl.h')
-rw-r--r--crypto/x509/x509_lcl.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/crypto/x509/x509_lcl.h b/crypto/x509/x509_lcl.h
index c7621fd1e6..15b861809b 100644
--- a/crypto/x509/x509_lcl.h
+++ b/crypto/x509/x509_lcl.h
@@ -70,3 +70,19 @@ struct X509_VERIFY_PARAM_ID_st {
};
int x509_check_cert_time(X509_STORE_CTX *ctx, X509 *x, int quiet);
+
+/* a sequence of these are used */
+struct x509_attributes_st {
+ ASN1_OBJECT *object;
+ int single; /* 0 for a set, 1 for a single item (which is
+ * wrong) */
+ union {
+ char *ptr;
+ /*
+ * 0
+ */ STACK_OF(ASN1_TYPE) *set;
+ /*
+ * 1
+ */ ASN1_TYPE *single;
+ } value;
+};