aboutsummaryrefslogtreecommitdiff
path: root/crypto/x509/x509_lcl.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-03-25 15:08:55 +0000
committerDr. Stephen Henson <steve@openssl.org>2015-03-25 15:46:54 +0000
commite20b57270dece66ce2c68aeb5d14dd6d9f3c5d68 (patch)
tree169ebd0aa0e409d8a23e332f5e8ac29f1b2151dd /crypto/x509/x509_lcl.h
parentca3a82c3b364e1e584546f0f3bbb938b0b472580 (diff)
downloadopenssl-e20b57270dece66ce2c68aeb5d14dd6d9f3c5d68.zip
openssl-e20b57270dece66ce2c68aeb5d14dd6d9f3c5d68.tar.gz
openssl-e20b57270dece66ce2c68aeb5d14dd6d9f3c5d68.tar.bz2
Remove X509_ATTRIBUTE hack.
The X509_ATTRIBUTE structure includes a hack to tolerate malformed attributes that encode as the type instead of SET OF type. This form is never created by OpenSSL and shouldn't be needed any more. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/x509/x509_lcl.h')
-rw-r--r--crypto/x509/x509_lcl.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/crypto/x509/x509_lcl.h b/crypto/x509/x509_lcl.h
index 5e38f5f..427d8ca 100644
--- a/crypto/x509/x509_lcl.h
+++ b/crypto/x509/x509_lcl.h
@@ -74,17 +74,7 @@ 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;
+ STACK_OF(ASN1_TYPE) *set;
};
struct X509_extension_st {