Nicolas Williams
6dd66df594
Make master build on Windows
...
Add strtoll()/strtoull() to lib/roken
Add stdint.h to lib/roken (Windows only)
Add logic to detect whether to use lib/roken's stdint.h based on
Visual Studio version
Add include of stdint.h in generated ASN.1 code
Export missing symbols for 64-bit integers in lib/asn1
Export missing symbols for FAST
Add missing sources to kdc/NTMakefile
Fix issue in kuserok
Fix bsearch issues
2012-01-17 12:10:14 -06:00
Love Hornquist Astrand
b939943b07
first stange of asn1 table driven compiler
2009-11-21 10:24:56 -08:00
Love Hörnquist Åstrand
0e6b5c5c22
remove trailing whitespace
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25232 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-28 01:17:17 +00: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
cc4d52535f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-22 09:56:51 +00:00
Love Hörnquist Åstrand
c0c6fd4537
heim_acode.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23177 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-22 02:53:58 +00:00
Love Hörnquist Åstrand
bf5f2fd376
use newly built <der-protos.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18437 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 05:16:08 +00:00
Love Hörnquist Åstrand
0e5fbe8aad
remove der_parse_oid prototype, it was never implemented.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 04:58:51 +00:00
Love Hörnquist Åstrand
da6e710e29
New der_put_heim_integer signature.
...
Test der_parse_heim_oid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 04:55:37 +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
7f71106edc
UniversalString and BMPString are both implemented.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-30 15:25:25 +00:00
Love Hörnquist Åstrand
cb5dc5d2c0
Remove , after the last element of enum.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16668 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-30 15:17:01 +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
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
8e78ed6e48
prefix Der_class with ASN1_C_ to avoid problems with system headerfiles that pollute the name space
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 14:23:01 +00:00
Love Hörnquist Åstrand
5d186c03b3
add heim_oid_cmp heim_octet_string_cmp
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 20:52:36 +00:00
Love Hörnquist Åstrand
1b7fe5bcc4
fix prototype of encode_utf8string
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 14:03:49 +00:00
Love Hörnquist Åstrand
8b8bcb8c9b
add boolan support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 00:28:29 +00:00
Love Hörnquist Åstrand
939b444ca3
prefix typedef\'s and structs with heim_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12438 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-15 13:57:32 +00:00
Love Hörnquist Åstrand
bd85856ef6
-= add parser/generate glue for UTF8String and NULL
...
(DER primitive encode/decode functions missing)
- handle parsing of DEFAULT and, ...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-20 18:42:10 +00:00
Assar Westerlund
b6f1d52a01
add decode_oid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10749 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-27 16:20:35 +00:00
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
9fcb1a0934
make time2generalizedtime return an error code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-29 08:31:27 +00:00
Assar Westerlund
2282956703
(decode_unsigned, encode_unsigned, length_unsigned): add prototypes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-06 17:18:51 +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
d4dcfc7199
const-ize the prototypes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7125 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-10 04:48:28 +00:00
Assar Westerlund
60ebce3c84
update universal tags
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7013 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-22 23:47:55 +00:00
Assar Westerlund
f0ee2b69be
all integer functions take int' instead of
unsigned'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5346 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-13 16:14:03 +00:00
Johan Danielsson
976d9f12f5
Add constant for indefinite encoding.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3667 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-26 03:49:54 +00:00
Johan Danielsson
58dbc27fe5
copy_* functions now returns an int (0 or ENOMEM).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2458 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-19 02:07:19 +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
734ef027fd
updated prototypes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2008 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-07 09:43:28 +00:00
Assar Westerlund
b26b3b0a9a
conditional prototype for `timegm'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1958 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-02 21:13:22 +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
415cbbf252
Constness.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1882 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-10 12:53:28 +00:00
Johan Danielsson
f13518ca8f
krb5_data -> octet_string, char * -> general_string
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1873 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-09 22:43:04 +00:00
Assar Westerlund
cc3618692a
Add `timegm'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1572 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-04-13 22:13:38 +00:00
Assar Westerlund
1eb310af2e
more prototypes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1410 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-14 03:15:01 +00:00
Assar Westerlund
84eca71750
added prototypes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1344 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-10 00:43:17 +00:00
Johan Danielsson
8277ecf187
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1151 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-12-20 22:48:54 +00:00
Johan Danielsson
b28882bc5d
Make krb5_data compatible with krb5.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1134 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-12-17 23:53:49 +00:00
Assar Westerlund
b55aed018f
Now uses generated ASN1-code.
...
kinit should be able to get a initial message from FOO.SE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@844 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-13 21:13:38 +00:00