From ed1a11f34fe43974bb8c6f3aeb0ab98a019e0bc2 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sat, 6 Nov 2004 02:13:38 +0000 Subject: make x509if use the new ANY type and get rid of the workaround svn path=/trunk/; revision=12492 --- asn1/x509if/InformationFramework.asn | 26 ++++++++++++-------------- asn1/x509if/x509if.cnf | 2 -- asn1/x509if/x509if_dummy.cnf | 5 ----- 3 files changed, 12 insertions(+), 21 deletions(-) delete mode 100644 asn1/x509if/x509if_dummy.cnf (limited to 'asn1/x509if') diff --git a/asn1/x509if/InformationFramework.asn b/asn1/x509if/InformationFramework.asn index b26b5bd4d6..cf46c993b6 100644 --- a/asn1/x509if/InformationFramework.asn +++ b/asn1/x509if/InformationFramework.asn @@ -21,13 +21,11 @@ IMPORTS HierarchySelections, FamilyGrouping, FamilyReturn FROM DirectoryAbstractService directoryAbstractService ub-search - FROM UpperBounds upperBounds - Any - FROM X509ifDummy; + FROM UpperBounds upperBounds; AttributeId ::= OBJECT IDENTIFIER ---AttributeValue ::= Any +--AttributeValue ::= ANY -- -- attribute data types Attribute ::= SEQUENCE { @@ -36,7 +34,7 @@ Attribute ::= SEQUENCE { -- SET SIZE (0..MAX) OF AttributeValue -- valuesWithContext -- SET SIZE (1..MAX) OF --- SEQUENCE {value Any, +-- SEQUENCE {value ANY, -- contextList SET SIZE (1..MAX) OF Context} OPTIONAL } @@ -46,7 +44,7 @@ AttributeType ::= AttributeId -- Context ::= SEQUENCE { -- contextType AttributeId, -- contextValues --- SET SIZE (1..MAX) OF Any, +-- SET SIZE (1..MAX) OF ANY, -- fallback BOOLEAN DEFAULT FALSE -- } -- @@ -98,12 +96,12 @@ RelativeDistinguishedName ::= AttributeTypeAndDistinguishedValue ::= SEQUENCE { type AttributeId, - value Any, + value ANY, primaryDistinguished BOOLEAN OPTIONAL -- valuesWithContext -- SET SIZE (1..MAX) OF -- SEQUENCE {distingAttrValue --- [0] Any OPTIONAL, +-- [0] ANY OPTIONAL, -- contextList SET SIZE (1..MAX) OF Context} OPTIONAL } @@ -594,13 +592,13 @@ ImposedSubset ::= ENUMERATED {baseObject(0), oneLevel(1), wholeSubtree(2)} -- includeSubtypes [0] BOOLEAN DEFAULT FALSE, -- selectedValues -- [1] SEQUENCE SIZE (0..MAX) OF --- Any OPTIONAL, +-- ANY OPTIONAL, -- defaultValues -- [2] SEQUENCE SIZE (0..MAX) OF -- SEQUENCE {entryType OBJECT-CLASS.&id OPTIONAL, -- values -- SEQUENCE OF --- Any +-- ANY -- } OPTIONAL, -- contexts [3] SEQUENCE SIZE (0..MAX) OF ContextProfile OPTIONAL, -- contextCombination [4] ContextCombination DEFAULT and:{}, @@ -646,14 +644,14 @@ ImposedSubset ::= ENUMERATED {baseObject(0), oneLevel(1), wholeSubtree(2)} -- outputValues -- CHOICE {selectedValues -- SEQUENCE SIZE (1..MAX) OF --- Any, +-- ANY, -- matchedValuesOnly NULL} OPTIONAL, -- contexts [0] SEQUENCE SIZE (1..MAX) OF ContextProfile OPTIONAL -- } -- -- OutputValues ::= CHOICE { -- selectedValues --- SEQUENCE SIZE (1..MAX) OF Any, +-- SEQUENCE SIZE (1..MAX) OF ANY, -- matchedValuesOnly NULL -- } -- @@ -737,9 +735,9 @@ ImposedSubset ::= ENUMERATED {baseObject(0), oneLevel(1), wholeSubtree(2)} -- -- REQUEST-ATTRIBUTE ::= CLASS { -- &attributeType AttributeId, --- &SelectedValues Any OPTIONAL, +-- &SelectedValues ANY OPTIONAL, -- &DefaultValues SEQUENCE {entryType OBJECT-CLASS.&id OPTIONAL, --- values SEQUENCE OF Any +-- values SEQUENCE OF ANY -- } OPTIONAL, -- &contexts SEQUENCE OF ContextProfile OPTIONAL, -- &contextCombination ContextCombination OPTIONAL, diff --git a/asn1/x509if/x509if.cnf b/asn1/x509if/x509if.cnf index 68d8a15f42..c214ec5a86 100644 --- a/asn1/x509if/x509if.cnf +++ b/asn1/x509if/x509if.cnf @@ -5,8 +5,6 @@ #.MODULE_IMPORT -#.INCLUDE ./x509if_dummy.cnf - #.EXPORTS Attribute AttributeType diff --git a/asn1/x509if/x509if_dummy.cnf b/asn1/x509if/x509if_dummy.cnf deleted file mode 100644 index 788d4bfe3c..0000000000 --- a/asn1/x509if/x509if_dummy.cnf +++ /dev/null @@ -1,5 +0,0 @@ -# this dummy is to handle Any type -# until when we can handle ANY properly - -#.IMPORT_TAG -Any BER_CLASS_ANY 0 -- cgit v1.2.1