Lev Walkin
20696a4ff3
constness fixes, round-trip and fuzz-testing for CHOICE
2017-10-17 21:27:55 -07:00
Lev Walkin
e4a1625ad2
compare literal values if times are not well-formed for semantic comparison
2017-10-16 15:09:04 -07:00
Lev Walkin
dd01a5e54c
OER support for UTCTime and GeneralizedTime, also fuzz-testing
2017-10-14 01:45:26 -07:00
Lev Walkin
9d6ba1c805
Solaris fix
2017-10-06 16:38:07 -07:00
Lev Walkin
a5972bedae
Combined constraints and introduced value randomizer.
2017-09-29 23:15:58 -07:00
Lev Walkin
154519a3a7
removed superfluous constraints duplication
2017-09-06 23:34:40 -07:00
Bi-Ruei, Chiu
1f87ac0058
Move type operations to another structure
...
Every type has free, print, check_constraints, ber_decoder, der_encoder,
xer_decoder, xer_encoder, uper_decoder, uper_encoder and outmost_tag
operations. We move them out to a separate structure asn_TYPE_operation_t.
Combined with previous logic simplification, these operations are based
on ASN.1 basic types, constructed types and string types. So we can
reduce the space occupied by asn_TYPE_descriptor_t variables.
2017-08-24 14:09:28 +08:00
Lev Walkin
cd2f48eb5a
structure comparison functions
2017-08-10 02:52:25 -07:00
Lev Walkin
b33425f16b
fix OER stubs order
2017-08-02 13:32:18 -07:00
Lev Walkin
7678076f34
introduce oer constraint code
2017-08-02 13:32:16 -07:00
Lev Walkin
cc1594746a
add skeleton OER stubs
2017-08-02 13:32:16 -07:00
Lev Walkin
80334ed5db
guard PER references
2017-07-06 07:28:21 -07:00
Vasil Velichkov
adf6594053
Fix "_BSD_SOURCE" redefined warning
...
../../skeletons/GeneralizedTime.c:7:0: warning: "_BSD_SOURCE" redefined [enabled by default]
#define _BSD_SOURCE /* for timegm(3) */
2017-03-26 04:47:14 -07:00
Lev Walkin
7623d8c33e
try to fetch timegm from the environment
2016-03-14 03:55:21 -07:00
Lev Walkin
7c1dc05f0e
do not use reserved identifiers, contd
2016-03-14 03:08:19 -07:00
Lev Walkin
3278995748
merged patch #31
2014-10-12 18:51:52 -07:00
Lev Walkin
78d604fe9e
Merge pull request #46 from wiml/constify
...
Move as much data as possible into non-writable text by declaring it const
2014-10-12 18:30:33 -07:00
Lev Walkin
04fbe62bbc
check if timegm is present before emulating
2014-09-17 02:27:01 -07:00
Wim Lewis
18c2ec9f1d
Declare the tags[] tables in skeletons as const.
...
Constify the PER support structure.
Constify a few other private tables in the skeleton code.
2014-07-29 11:30:10 -07:00
Frank Morgner
917a81df5b
workaround for missing #warning on windows
2013-05-21 09:52:19 +02:00
Lev Walkin
92d57bd80a
removed unused variable
2012-09-04 14:39:23 -07:00
Lev Walkin
271261813c
remove volatile from GeneralizedTime
2012-09-03 01:09:54 -07:00
Lev Walkin
9a338f8d25
unbreak overflow detection in gcc 4.4.3 (4.x?)
2012-01-22 16:38:37 -08:00
Lev Walkin
936595643a
WIN32 -> _WIN32; see http://predef.sourceforge.net/preos.html#sec25
2010-11-20 09:47:13 -08:00
Lev Walkin
a4347cc349
minutes fix, courtesy IP Fabrics, Inc.
2010-03-10 23:05:56 +00:00
Lev Walkin
b9671d1d3c
missed backslash
2007-10-02 11:23:24 +00:00
Lev Walkin
2fe66ca743
Fixed [1579558] (TZ longer than 64 chars on solaris, with FREEMEM redefined).
2007-10-02 11:03:02 +00:00
Lev Walkin
ed9019a9e4
constraint fail message
2006-10-16 12:18:41 +00:00
Lev Walkin
725883b28d
more PER support
2006-10-09 12:07:58 +00:00
Lev Walkin
419f6757b4
clarity
2006-09-13 04:02:00 +00:00
Lev Walkin
223000ab18
*** empty log message ***
2006-09-13 00:21:58 +00:00
Lev Walkin
523de9eba2
per support
2006-08-18 01:34:18 +00:00
Lev Walkin
c8c2cb54d5
time functions: removed support for Solaris
2006-07-13 13:20:19 +00:00
Lev Walkin
1eded3544e
*** empty log message ***
2006-07-13 11:19:01 +00:00
Lev Walkin
adcb586c0c
macro for free_struct()
2006-03-17 02:11:12 +00:00
Lev Walkin
c81dab1573
proper shift
2006-01-10 08:08:14 +00:00
Lev Walkin
59b176ee35
upgrade: PER related changes
2005-11-26 11:25:14 +00:00
Lev Walkin
3a52278ac5
new decimal point paradigm
2005-07-04 12:21:51 +00:00
Lev Walkin
88e0a778c9
even more strict checking
2005-07-04 02:29:36 +00:00
Lev Walkin
10dd97c70c
even more tests for invalid fractions
2005-07-04 02:20:26 +00:00
Lev Walkin
4b4c146c70
ignoring non-normalized values
2005-07-04 01:44:01 +00:00
Lev Walkin
535612a3f7
API extended to support fractions of seconds
2005-07-03 05:32:40 +00:00
Lev Walkin
a57953d7dc
WIN32 portability changes
2005-06-15 19:01:45 +00:00
Lev Walkin
75aacefcad
not supported variadic macros
2005-04-13 14:53:04 +00:00
Lev Walkin
fc77643765
globalized assert()
2005-03-29 17:21:14 +00:00
Lev Walkin
dc06f6b0d2
XER support
2004-10-20 15:50:55 +00:00
Lev Walkin
a460ba3f01
things necessary for Sun Solaris 9 @ sparc
2004-10-20 15:40:04 +00:00
Lev Walkin
5e03376b84
asn1_* renamed into asn_*
2004-09-29 13:26:15 +00:00
Lev Walkin
8e8078aa88
clean-up; removed unnecessary field from type descriptor
2004-09-26 13:10:40 +00:00
Lev Walkin
a9cc46e3f3
XER support
2004-09-22 16:06:28 +00:00