Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
80334ed5
Commit
80334ed5
authored
Jul 06, 2017
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
guard PER references
parent
38b3e23d
Changes
27
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
135 additions
and
0 deletions
+135
-0
skeletons/BIT_STRING.c
skeletons/BIT_STRING.c
+5
-0
skeletons/BMPString.c
skeletons/BMPString.c
+5
-0
skeletons/BOOLEAN.c
skeletons/BOOLEAN.c
+5
-0
skeletons/ENUMERATED.c
skeletons/ENUMERATED.c
+5
-0
skeletons/GeneralString.c
skeletons/GeneralString.c
+5
-0
skeletons/GeneralizedTime.c
skeletons/GeneralizedTime.c
+5
-0
skeletons/GraphicString.c
skeletons/GraphicString.c
+5
-0
skeletons/IA5String.c
skeletons/IA5String.c
+5
-0
skeletons/ISO646String.c
skeletons/ISO646String.c
+5
-0
skeletons/NULL.c
skeletons/NULL.c
+5
-0
skeletons/NativeEnumerated.c
skeletons/NativeEnumerated.c
+5
-0
skeletons/NativeInteger.c
skeletons/NativeInteger.c
+5
-0
skeletons/NativeReal.c
skeletons/NativeReal.c
+5
-0
skeletons/NumericString.c
skeletons/NumericString.c
+5
-0
skeletons/OBJECT_IDENTIFIER.c
skeletons/OBJECT_IDENTIFIER.c
+5
-0
skeletons/OCTET_STRING.c
skeletons/OCTET_STRING.c
+5
-0
skeletons/ObjectDescriptor.c
skeletons/ObjectDescriptor.c
+5
-0
skeletons/PrintableString.c
skeletons/PrintableString.c
+5
-0
skeletons/REAL.c
skeletons/REAL.c
+5
-0
skeletons/RELATIVE-OID.c
skeletons/RELATIVE-OID.c
+5
-0
skeletons/T61String.c
skeletons/T61String.c
+5
-0
skeletons/TeletexString.c
skeletons/TeletexString.c
+5
-0
skeletons/UTCTime.c
skeletons/UTCTime.c
+5
-0
skeletons/UTF8String.c
skeletons/UTF8String.c
+5
-0
skeletons/UniversalString.c
skeletons/UniversalString.c
+5
-0
skeletons/VideotexString.c
skeletons/VideotexString.c
+5
-0
skeletons/VisibleString.c
skeletons/VisibleString.c
+5
-0
No files found.
skeletons/BIT_STRING.c
View file @
80334ed5
...
...
@@ -27,8 +27,13 @@ asn_TYPE_descriptor_t asn_DEF_BIT_STRING = {
OCTET_STRING_encode_der
,
/* Implemented in terms of OCTET STRING */
OCTET_STRING_decode_xer_binary
,
BIT_STRING_encode_xer
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
/* Unaligned PER decoder */
OCTET_STRING_encode_uper
,
/* Unaligned PER encoder */
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_BIT_STRING_tags
,
sizeof
(
asn_DEF_BIT_STRING_tags
)
...
...
skeletons/BMPString.c
View file @
80334ed5
...
...
@@ -33,8 +33,13 @@ asn_TYPE_descriptor_t asn_DEF_BMPString = {
OCTET_STRING_encode_der
,
BMPString_decode_xer
,
/* Convert from UTF-8 */
BMPString_encode_xer
,
/* Convert to UTF-8 */
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
OCTET_STRING_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_BMPString_tags
,
sizeof
(
asn_DEF_BMPString_tags
)
...
...
skeletons/BOOLEAN.c
View file @
80334ed5
...
...
@@ -22,8 +22,13 @@ asn_TYPE_descriptor_t asn_DEF_BOOLEAN = {
BOOLEAN_encode_der
,
BOOLEAN_decode_xer
,
BOOLEAN_encode_xer
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
BOOLEAN_decode_uper
,
/* Unaligned PER decoder */
BOOLEAN_encode_uper
,
/* Unaligned PER encoder */
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_BOOLEAN_tags
,
sizeof
(
asn_DEF_BOOLEAN_tags
)
/
sizeof
(
asn_DEF_BOOLEAN_tags
[
0
]),
...
...
skeletons/ENUMERATED.c
View file @
80334ed5
...
...
@@ -24,8 +24,13 @@ asn_TYPE_descriptor_t asn_DEF_ENUMERATED = {
INTEGER_encode_der
,
/* Implemented in terms of INTEGER */
INTEGER_decode_xer
,
/* This is temporary! */
INTEGER_encode_xer
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
ENUMERATED_decode_uper
,
/* Unaligned PER decoder */
ENUMERATED_encode_uper
,
/* Unaligned PER encoder */
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_ENUMERATED_tags
,
sizeof
(
asn_DEF_ENUMERATED_tags
)
/
sizeof
(
asn_DEF_ENUMERATED_tags
[
0
]),
...
...
skeletons/GeneralString.c
View file @
80334ed5
...
...
@@ -22,8 +22,13 @@ asn_TYPE_descriptor_t asn_DEF_GeneralString = {
OCTET_STRING_encode_der
,
OCTET_STRING_decode_xer_hex
,
OCTET_STRING_encode_xer
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
/* Implemented in terms of OCTET STRING */
OCTET_STRING_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_GeneralString_tags
,
sizeof
(
asn_DEF_GeneralString_tags
)
...
...
skeletons/GeneralizedTime.c
View file @
80334ed5
...
...
@@ -181,8 +181,13 @@ asn_TYPE_descriptor_t asn_DEF_GeneralizedTime = {
GeneralizedTime_encode_der
,
OCTET_STRING_decode_xer_utf8
,
GeneralizedTime_encode_xer
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
OCTET_STRING_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_GeneralizedTime_tags
,
sizeof
(
asn_DEF_GeneralizedTime_tags
)
...
...
skeletons/GraphicString.c
View file @
80334ed5
...
...
@@ -22,8 +22,13 @@ asn_TYPE_descriptor_t asn_DEF_GraphicString = {
OCTET_STRING_encode_der
,
OCTET_STRING_decode_xer_hex
,
OCTET_STRING_encode_xer
,
/* Can't expect it to be ASCII/UTF8 */
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
/* Implemented in terms of OCTET STRING */
OCTET_STRING_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_GraphicString_tags
,
sizeof
(
asn_DEF_GraphicString_tags
)
...
...
skeletons/IA5String.c
View file @
80334ed5
...
...
@@ -27,8 +27,13 @@ asn_TYPE_descriptor_t asn_DEF_IA5String = {
OCTET_STRING_encode_der
,
OCTET_STRING_decode_xer_utf8
,
OCTET_STRING_encode_xer_utf8
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
OCTET_STRING_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_IA5String_tags
,
sizeof
(
asn_DEF_IA5String_tags
)
...
...
skeletons/ISO646String.c
View file @
80334ed5
...
...
@@ -27,8 +27,13 @@ asn_TYPE_descriptor_t asn_DEF_ISO646String = {
OCTET_STRING_encode_der
,
OCTET_STRING_decode_xer_utf8
,
OCTET_STRING_encode_xer_utf8
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
OCTET_STRING_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_ISO646String_tags
,
sizeof
(
asn_DEF_ISO646String_tags
)
...
...
skeletons/NULL.c
View file @
80334ed5
...
...
@@ -23,8 +23,13 @@ asn_TYPE_descriptor_t asn_DEF_NULL = {
NULL_encode_der
,
/* Special handling of DER encoding */
NULL_decode_xer
,
NULL_encode_xer
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
NULL_decode_uper
,
/* Unaligned PER decoder */
NULL_encode_uper
,
/* Unaligned PER encoder */
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_NULL_tags
,
sizeof
(
asn_DEF_NULL_tags
)
/
sizeof
(
asn_DEF_NULL_tags
[
0
]),
...
...
skeletons/NativeEnumerated.c
View file @
80334ed5
...
...
@@ -28,8 +28,13 @@ asn_TYPE_descriptor_t asn_DEF_NativeEnumerated = {
NativeInteger_encode_der
,
NativeInteger_decode_xer
,
NativeEnumerated_encode_xer
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
NativeEnumerated_decode_uper
,
NativeEnumerated_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_NativeEnumerated_tags
,
sizeof
(
asn_DEF_NativeEnumerated_tags
)
/
sizeof
(
asn_DEF_NativeEnumerated_tags
[
0
]),
...
...
skeletons/NativeInteger.c
View file @
80334ed5
...
...
@@ -29,8 +29,13 @@ asn_TYPE_descriptor_t asn_DEF_NativeInteger = {
NativeInteger_encode_der
,
NativeInteger_decode_xer
,
NativeInteger_encode_xer
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
NativeInteger_decode_uper
,
/* Unaligned PER decoder */
NativeInteger_encode_uper
,
/* Unaligned PER encoder */
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_NativeInteger_tags
,
sizeof
(
asn_DEF_NativeInteger_tags
)
/
sizeof
(
asn_DEF_NativeInteger_tags
[
0
]),
...
...
skeletons/NativeReal.c
View file @
80334ed5
...
...
@@ -30,8 +30,13 @@ asn_TYPE_descriptor_t asn_DEF_NativeReal = {
NativeReal_encode_der
,
NativeReal_decode_xer
,
NativeReal_encode_xer
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
NativeReal_decode_uper
,
NativeReal_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_NativeReal_tags
,
sizeof
(
asn_DEF_NativeReal_tags
)
/
sizeof
(
asn_DEF_NativeReal_tags
[
0
]),
...
...
skeletons/NumericString.c
View file @
80334ed5
...
...
@@ -47,8 +47,13 @@ asn_TYPE_descriptor_t asn_DEF_NumericString = {
OCTET_STRING_encode_der
,
OCTET_STRING_decode_xer_utf8
,
OCTET_STRING_encode_xer_utf8
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
OCTET_STRING_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_NumericString_tags
,
sizeof
(
asn_DEF_NumericString_tags
)
...
...
skeletons/OBJECT_IDENTIFIER.c
View file @
80334ed5
...
...
@@ -25,8 +25,13 @@ asn_TYPE_descriptor_t asn_DEF_OBJECT_IDENTIFIER = {
der_encode_primitive
,
OBJECT_IDENTIFIER_decode_xer
,
OBJECT_IDENTIFIER_encode_xer
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
OCTET_STRING_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_OBJECT_IDENTIFIER_tags
,
sizeof
(
asn_DEF_OBJECT_IDENTIFIER_tags
)
...
...
skeletons/OCTET_STRING.c
View file @
80334ed5
...
...
@@ -34,8 +34,13 @@ asn_TYPE_descriptor_t asn_DEF_OCTET_STRING = {
OCTET_STRING_encode_der
,
OCTET_STRING_decode_xer_hex
,
OCTET_STRING_encode_xer
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
/* Unaligned PER decoder */
OCTET_STRING_encode_uper
,
/* Unaligned PER encoder */
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_OCTET_STRING_tags
,
sizeof
(
asn_DEF_OCTET_STRING_tags
)
...
...
skeletons/ObjectDescriptor.c
View file @
80334ed5
...
...
@@ -22,8 +22,13 @@ asn_TYPE_descriptor_t asn_DEF_ObjectDescriptor = {
OCTET_STRING_encode_der
,
OCTET_STRING_decode_xer_utf8
,
OCTET_STRING_encode_xer_utf8
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
OCTET_STRING_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_ObjectDescriptor_tags
,
sizeof
(
asn_DEF_ObjectDescriptor_tags
)
...
...
skeletons/PrintableString.c
View file @
80334ed5
...
...
@@ -57,8 +57,13 @@ asn_TYPE_descriptor_t asn_DEF_PrintableString = {
OCTET_STRING_encode_der
,
OCTET_STRING_decode_xer_utf8
,
OCTET_STRING_encode_xer_utf8
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
OCTET_STRING_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_PrintableString_tags
,
sizeof
(
asn_DEF_PrintableString_tags
)
...
...
skeletons/REAL.c
View file @
80334ed5
...
...
@@ -51,8 +51,13 @@ asn_TYPE_descriptor_t asn_DEF_REAL = {
der_encode_primitive
,
REAL_decode_xer
,
REAL_encode_xer
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
REAL_decode_uper
,
REAL_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_REAL_tags
,
sizeof
(
asn_DEF_REAL_tags
)
/
sizeof
(
asn_DEF_REAL_tags
[
0
]),
...
...
skeletons/RELATIVE-OID.c
View file @
80334ed5
...
...
@@ -26,8 +26,13 @@ asn_TYPE_descriptor_t asn_DEF_RELATIVE_OID = {
der_encode_primitive
,
RELATIVE_OID_decode_xer
,
RELATIVE_OID_encode_xer
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
OCTET_STRING_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_RELATIVE_OID_tags
,
sizeof
(
asn_DEF_RELATIVE_OID_tags
)
...
...
skeletons/T61String.c
View file @
80334ed5
...
...
@@ -22,8 +22,13 @@ asn_TYPE_descriptor_t asn_DEF_T61String = {
OCTET_STRING_encode_der
,
OCTET_STRING_decode_xer_hex
,
OCTET_STRING_encode_xer
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
OCTET_STRING_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_T61String_tags
,
sizeof
(
asn_DEF_T61String_tags
)
...
...
skeletons/TeletexString.c
View file @
80334ed5
...
...
@@ -22,8 +22,13 @@ asn_TYPE_descriptor_t asn_DEF_TeletexString = {
OCTET_STRING_encode_der
,
OCTET_STRING_decode_xer_hex
,
OCTET_STRING_encode_xer
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
OCTET_STRING_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_TeletexString_tags
,
sizeof
(
asn_DEF_TeletexString_tags
)
...
...
skeletons/UTCTime.c
View file @
80334ed5
...
...
@@ -38,8 +38,13 @@ asn_TYPE_descriptor_t asn_DEF_UTCTime = {
OCTET_STRING_encode_der
,
/* Implemented in terms of OCTET STRING */
OCTET_STRING_decode_xer_utf8
,
UTCTime_encode_xer
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
OCTET_STRING_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_UTCTime_tags
,
sizeof
(
asn_DEF_UTCTime_tags
)
...
...
skeletons/UTF8String.c
View file @
80334ed5
...
...
@@ -23,8 +23,13 @@ asn_TYPE_descriptor_t asn_DEF_UTF8String = {
OCTET_STRING_encode_der
,
OCTET_STRING_decode_xer_utf8
,
OCTET_STRING_encode_xer_utf8
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
OCTET_STRING_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_UTF8String_tags
,
sizeof
(
asn_DEF_UTF8String_tags
)
...
...
skeletons/UniversalString.c
View file @
80334ed5
...
...
@@ -33,8 +33,13 @@ asn_TYPE_descriptor_t asn_DEF_UniversalString = {
OCTET_STRING_encode_der
,
UniversalString_decode_xer
,
/* Convert from UTF-8 */
UniversalString_encode_xer
,
/* Convert into UTF-8 */
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
OCTET_STRING_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_UniversalString_tags
,
sizeof
(
asn_DEF_UniversalString_tags
)
...
...
skeletons/VideotexString.c
View file @
80334ed5
...
...
@@ -22,8 +22,13 @@ asn_TYPE_descriptor_t asn_DEF_VideotexString = {
OCTET_STRING_encode_der
,
OCTET_STRING_decode_xer_hex
,
OCTET_STRING_encode_xer
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
/* Implemented in terms of OCTET STRING */
OCTET_STRING_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_VideotexString_tags
,
sizeof
(
asn_DEF_VideotexString_tags
)
...
...
skeletons/VisibleString.c
View file @
80334ed5
...
...
@@ -27,8 +27,13 @@ asn_TYPE_descriptor_t asn_DEF_VisibleString = {
OCTET_STRING_encode_der
,
OCTET_STRING_decode_xer_utf8
,
OCTET_STRING_encode_xer_utf8
,
#ifdef ASN_DISABLE_PER_SUPPORT
0
,
0
,
#else
OCTET_STRING_decode_uper
,
OCTET_STRING_encode_uper
,
#endif
/* ASN_DISABLE_PER_SUPPORT */
0
,
/* Use generic outmost tag fetcher */
asn_DEF_VisibleString_tags
,
sizeof
(
asn_DEF_VisibleString_tags
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment