Assar Westerlund
2bcae56ac3
add ENUMERATED and OBJECT IDENTIFIER
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10741 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-25 13:39:27 +00:00
Assar Westerlund
6f980743fb
(generate_type_decode): zero the data at the beginning of the
...
generated function, and add a label `fail' that the code jumps to in
case of errors that frees all allocated data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9667 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-10 18:14:38 +00:00
Assar Westerlund
2c57d32ca1
test two generated mallocs for success
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9577 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-29 08:36:45 +00:00
Assar Westerlund
d43045a867
(decode_type): fail on malloc error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-21 22:40:23 +00:00
Johan Danielsson
90c3ac7191
support for distinguished value integers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8396 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-19 15:19:23 +00:00
Assar Westerlund
91384c007f
(decode_type, generate_type_decode): add TUInteger
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-06 17:22:49 +00:00
Johan Danielsson
c5b916ca6f
remove advertising clause
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Assar Westerlund
a74d27d3d7
const-ize
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7130 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-10 04:55:28 +00:00
Assar Westerlund
8c03752be7
(decode_type): fix generation of decoding information for
...
TSequenceOf.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6393 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:28:55 +00:00
Johan Danielsson
ca8b03f428
Hack to avoid `unused variable'.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4577 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-16 21:26:15 +00:00
Johan Danielsson
f3a74b747f
Allow passing NULL size.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3995 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-15 23:32:43 +00:00
Johan Danielsson
abb2cf3533
Improve formatting of headerfile.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2482 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-20 01:00:18 +00:00
Johan Danielsson
5a32a5c8e7
Add copyright notice.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2389 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 21:40:05 +00:00
Assar Westerlund
c1439d2cd8
changed asn1_locl.h to gen_locl.h and der_locl.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2328 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-15 20:02:05 +00:00
Assar Westerlund
5b1f9fc01c
Use err' and
asprintf'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2272 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-14 11:38:28 +00:00
Johan Danielsson
372881f5ef
Now all decode_* and encode_* functions now take a final size_t*
...
argument, that they return the size in. Return values are zero for
success, and anything else (such as some ASN1_* constant) for error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1951 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-01 23:52:30 +00:00
Johan Danielsson
a510e42b08
Split of gen.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1447 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-17 10:33:57 +00:00