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
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
f5f9014c90
Warning fixes from Christos Zoulas
...
- shadowed variables
- signed/unsigned confusion
- const lossage
- incomplete structure initializations
- unused code
2011-04-29 20:25:05 -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
f59f7099cc
Don't accect zero length hex numbers.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 20:18:29 +00:00
Love Hörnquist Åstrand
e4f5561f28
(der_parse_hex_heim_integer): check length before reading data.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 14:03:49 +00:00
Love Hörnquist Åstrand
998db7a76f
(der_print_heim_oid): oid with zero length is invalid, fail to print.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:32:21 +00:00
Love Hörnquist Åstrand
0fa8cd58ec
(der_print_heim_oid): use delim when printing.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19103 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-24 06:08:27 +00:00
Love Hörnquist Åstrand
d9ee3fd293
(der_parse_heim_oid): avoid leaking memory
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18767 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 18:24:15 +00:00
Love Hörnquist Åstrand
cd3280ce17
Add der_parse_heim_oid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 05:37:10 +00:00
Love Hörnquist Åstrand
14e6b9204d
(der_print_heim_oid): new function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17677 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-22 03:49:20 +00:00
Love Hörnquist Åstrand
3f7e277a20
(der_parse_hex_heim_integer): avoid shadowing.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 19:30:17 +00:00
Love Hörnquist Åstrand
8018ea69c2
(der_parse_hex_heim_integer): make more resiliant to errors, handle
...
odd length numbers.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-16 23:01:11 +00:00
Love Hörnquist Åstrand
7c785284bd
Add parse and print functions for heim_integer.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 03:49:16 +00:00