Nicolas Williams
e4311f3a82
asn1: Fix UB and incorrect codec for unconstrained INTEGER values of -1
2022-11-01 16:10:57 -05:00
Jeffrey Altman
d269c30b2b
lib/asn1: all exported functions must use ASN1CALL convention
...
Otherwise, on 32-bit Windows there is a mismatch that and the
ESP register will not be populated correctly.
Prior to this change some exports were ASN1CALL and others
were not. All of the tests assume ASN1CALL.
Change-Id: Icecff44aed4726b86100c939f64628d121bbd7ee
2021-11-16 22:09:16 -05:00
Nicolas Williams
dbb8882971
asn1: Fix some of the primitive comparators
...
The comparators for BIT STRING and unconstrained INTEGER need help too.
2021-02-25 17:33:18 -06:00
Love Hornquist Astrand
060474df16
quel 64bit warnings, fixup implicit encoding for template, fix spelling
2013-06-03 21:46:20 -07:00
Love Hornquist Astrand
0879b9831a
remove trailing whitespace
2011-05-21 11:57:31 -07:00
Love Hornquist Astrand
1b63db9b6e
compare right thing
2010-08-08 16:08:04 -07:00
Love Hornquist Astrand
fa4c84e6d6
make printablestring and ia5string octetstrings
2010-08-08 15:51:33 -07:00
Love Hörnquist Åstrand
6937d41a02
remove trailing whitespace
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898
switch to utf8 encoding of all files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
40acdb8650
prefix primitive types with der_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18441 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 05:26:36 +00:00
Love Hörnquist Åstrand
35e8a7b886
(heim_integer_cmp): make it work with negative numbers.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16580 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 13:22:11 +00:00
Love Hörnquist Åstrand
68d93ba416
(heim_bit_string_cmp): try handle corner cases better
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15743 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 21:03:26 +00:00
Love Hörnquist Åstrand
b838707d0e
Commit much improved ASN.1 compiler from joda-choice-branch.
...
Highlighs for the compiler is support for CHOICE and in general better
support for tags. This compiler support most of what is needed for
PK-INIT, LDAP, X.509, PKCS-12 and many other protocols.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 06:27:42 +00:00
Love Hörnquist Åstrand
7bc2e8f782
add heim_oid_cmp and heim_octet_string_cmp
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 20:54:02 +00:00