diff options
author | Harald Welte <laforge@gnumonks.org> | 2015-08-31 08:56:53 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2015-08-31 09:35:13 +0200 |
commit | 41b85d5597119fa8105dc0641ffe5cd1bbae39b2 (patch) | |
tree | 1a425d76fafe089cca547eb9c79c6a9a631c34e2 /src/UTCTime.c | |
parent | f6b9173b02bfac093177cf6fd0f48ad56c5786c7 (diff) |
update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be
which is closes to Lev Walkins master 62913d8b8e1eb96d74315ff748475ca818b69752
Diffstat (limited to 'src/UTCTime.c')
-rw-r--r-- | src/UTCTime.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/UTCTime.c b/src/UTCTime.c index 0abe1db..98a4c15 100644 --- a/src/UTCTime.c +++ b/src/UTCTime.c @@ -18,7 +18,7 @@ /* * UTCTime basic type description. */ -static ber_tlv_tag_t asn_DEF_UTCTime_tags[] = { +static const ber_tlv_tag_t asn_DEF_UTCTime_tags[] = { (ASN_TAG_CLASS_UNIVERSAL | (23 << 2)), /* [UNIVERSAL 23] IMPLICIT ...*/ (ASN_TAG_CLASS_UNIVERSAL | (26 << 2)), /* [UNIVERSAL 26] IMPLICIT ...*/ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) /* ... OCTET STRING */ @@ -40,6 +40,8 @@ asn_TYPE_descriptor_t asn_DEF_UTCTime = { UTCTime_encode_xer, OCTET_STRING_decode_uper, OCTET_STRING_encode_uper, + OCTET_STRING_decode_aper, + OCTET_STRING_encode_aper, 0, /* Use generic outmost tag fetcher */ asn_DEF_UTCTime_tags, sizeof(asn_DEF_UTCTime_tags) |