aboutsummaryrefslogtreecommitdiff
path: root/openssl
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2006-07-20 02:33:07 +0000
committerRob Austein <sra@hactrn.net>2006-07-20 02:33:07 +0000
commit2d98fe3f5c72c4023226c508a13bf37094268ec6 (patch)
treed562ec6d9e53cab545be8c98f63a73c74843250f /openssl
parentf1380684219e15de601a9994aabf65a574746113 (diff)
Cleanup
svn path=/openssl/trunk/crypto/x509v3/v3_asid.c; revision=26
Diffstat (limited to 'openssl')
-rw-r--r--openssl/trunk/crypto/x509v3/v3_asid.c10
-rw-r--r--openssl/trunk/crypto/x509v3/v3_asid.h4
2 files changed, 6 insertions, 8 deletions
diff --git a/openssl/trunk/crypto/x509v3/v3_asid.c b/openssl/trunk/crypto/x509v3/v3_asid.c
index 2a575e2a..c1114465 100644
--- a/openssl/trunk/crypto/x509v3/v3_asid.c
+++ b/openssl/trunk/crypto/x509v3/v3_asid.c
@@ -30,26 +30,24 @@
#include <openssl/asn1t.h>
#include <openssl/x509v3.h>
-/* RFC 3779 AS ID */
-
ASN1_SEQUENCE(ASRange) = {
ASN1_SIMPLE(ASRange, min, ASN1_INTEGER),
ASN1_SIMPLE(ASRange, max, ASN1_INTEGER)
} ASN1_SEQUENCE_END(ASRange)
ASN1_CHOICE(ASIdOrRange) = {
- ASN1_SIMPLE(ASIdOrRange, u.id, ASN1_INTEGER),
+ ASN1_SIMPLE(ASIdOrRange, u.id, ASN1_INTEGER),
ASN1_SIMPLE(ASIdOrRange, u.range, ASRange)
} ASN1_CHOICE_END(ASIdOrRange)
ASN1_CHOICE(ASIdentiferChoice) = {
- ASN1_IMP(ASIdentiferChoice, u.inherit, ASN1_NULL),
- ASN1_IMP_SEQUENCE_OF(ASIdentiferChoice, u.asIdsOrRanges, ASIdOrRange)
+ ASN1_SIMPLE(ASIdentiferChoice, u.inherit, ASN1_NULL),
+ ASN1_SEQUENCE_OF(ASIdentiferChoice, u.asIdsOrRanges, ASIdOrRange)
} ASN1_CHOICE_END(ASIdentiferChoice)
ASN1_SEQUENCE(ASIdentifiers) = {
ASN1_EXP_OPT(ASIdentifiers, asnum, ASIdentiferChoice, 0),
- ASN1_EXP_OPT(ASIdentifiers, rdi, ASIdentiferChoice, 1)
+ ASN1_EXP_OPT(ASIdentifiers, rdi, ASIdentiferChoice, 1)
} ASN1_SEQUENCE_END(ASIdentifiers)
IMPLEMENT_ASN1_FUNCTIONS(ASRange)
diff --git a/openssl/trunk/crypto/x509v3/v3_asid.h b/openssl/trunk/crypto/x509v3/v3_asid.h
index 01891c93..2a409175 100644
--- a/openssl/trunk/crypto/x509v3/v3_asid.h
+++ b/openssl/trunk/crypto/x509v3/v3_asid.h
@@ -40,7 +40,7 @@ typedef struct ASIdOrRange_st {
int type;
union {
ASN1_INTEGER *id;
- ASRange *range;
+ ASRange *range;
} u;
} ASIdOrRange;
@@ -53,7 +53,7 @@ DECLARE_STACK_OF(ASIdOrRange)
typedef struct ASIdentifierChoice_st {
int type;
union {
- ASN1_NULL *inherit;
+ ASN1_NULL *inherit;
ASIdOrRanges *asIdsOrRanges;
} u;
} ASIdentifierChoice;