aboutsummaryrefslogtreecommitdiff
path: root/crypto/x509/x509_lcl.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-03-14 23:48:47 +0000
committerDr. Stephen Henson <steve@openssl.org>2015-03-16 15:54:19 +0000
commit9b0a453190efc9b14cc04e74ce2e8e35af45fb39 (patch)
tree4b1ddda995fccce1e27832948bffbc250ab04dec /crypto/x509/x509_lcl.h
parentda27006df06853a33b132133699a7aa9d4277920 (diff)
downloadopenssl-9b0a453190efc9b14cc04e74ce2e8e35af45fb39.zip
openssl-9b0a453190efc9b14cc04e74ce2e8e35af45fb39.tar.gz
openssl-9b0a453190efc9b14cc04e74ce2e8e35af45fb39.tar.bz2
Make X509_ATTRIBUTE opaque.
Reviewed-by: Rich Salz <rsalz@openssl.org>
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 c7621fd..15b8618 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;
+};