summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/x509v3.h
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-04-17 10:28:46 +0000
committerBen Laurie <ben@openssl.org>1999-04-17 10:28:46 +0000
commitcfdcfede9cfb0c5f649f379255eea19b37f43f4f (patch)
treefbc0d11da315c9086dfa18c5969bece6084bdebc /crypto/x509v3/x509v3.h
parent1d48dd001915bbccf1f08b4b431dd945d351ec5d (diff)
Another STACK bites the dust.
Diffstat (limited to 'crypto/x509v3/x509v3.h')
-rw-r--r--crypto/x509v3/x509v3.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/crypto/x509v3/x509v3.h b/crypto/x509v3/x509v3.h
index 5143a1e7ab..52037eccb3 100644
--- a/crypto/x509v3/x509v3.h
+++ b/crypto/x509v3/x509v3.h
@@ -184,16 +184,19 @@ union {
/* Strong extranet structures */
-typedef struct SXNET_st {
- ASN1_INTEGER *version;
- STACK /* SXNETID */ *ids;
-} SXNET;
-
typedef struct SXNET_ID_st {
ASN1_INTEGER *zone;
ASN1_OCTET_STRING *user;
} SXNETID;
+DECLARE_STACK_OF(SXNETID)
+DECLARE_ASN1_SET_OF(SXNETID)
+
+typedef struct SXNET_st {
+ ASN1_INTEGER *version;
+ STACK_OF(SXNETID) *ids;
+} SXNET;
+
#define X509V3_conf_err(val) ERR_add_error_data(6, "section:", val->section, \
",name:", val->name, ",value:", val->value);