Commit Graph

31 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
a111935bca Handle printing and parsing raw oids in name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-24 06:09:48 +00:00
Love Hörnquist Åstrand
96204e40a8 prefix der primitives with der_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18453 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 09:42:43 +00:00
Love Hörnquist Åstrand
bf89bf0115 (_hx509_Name_to_string): remove dup const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18251 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 07:23:29 +00:00
Love Hörnquist Åstrand
2acf7df729 New function _hx509_Name_to_string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18058 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-08 09:52:39 +00:00
Love Hörnquist Åstrand
a1e502b177 (no): Add serialNumber
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18018 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-05 18:54:55 +00:00
Love Hörnquist Åstrand
35a79e736b (no): add OU and sort
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 08:41:09 +00:00
Love Hörnquist Åstrand
a848124aa0 Avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 20:51:59 +00:00
Love Hörnquist Åstrand
cb704efeeb Rename u_intXX_t to uintXX_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:37:46 +00:00
Love Hörnquist Åstrand
701e7c5038 renamed one error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 15:28:14 +00:00
Love Hörnquist Åstrand
832c728396 Add hx509_name_is_null_p
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17367 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-30 07:35:36 +00:00
Love Hörnquist Åstrand
5f3de5351d Expose more of Name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17365 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-29 21:30:21 +00:00
Love Hörnquist Åstrand
1047c39f0d (hx509_parse_name): don't abort on error, rather return error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 20:08:36 +00:00
Love Hörnquist Åstrand
d9f7944c9b (hx509_parse_name): fix length argument to printf string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:15:57 +00:00
Love Hörnquist Åstrand
fe9bb14be8 (hx509_parse_name): fix length argument to stringtooid, 1 too short.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:12:36 +00:00
Love Hörnquist Åstrand
e944135b02 (hx509_parse_name): make compile pre c99
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17276 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:56:26 +00:00
Love Hörnquist Åstrand
8e39cadc48 Switch over to asn1 generaed oids.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 10:29:16 +00:00
Love Hörnquist Åstrand
83a5e521ed (hx509_parse_name): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-03 05:14:28 +00:00
Love Hörnquist Åstrand
d64862d6fa (hx509_name_copy): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16959 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 18:12:46 +00:00
Love Hörnquist Åstrand
f0997e90dc (_hx509_name_ds_cmp): make DirectoryString case insenstive
(hx509_name_to_string): less spacing


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 21:32:26 +00:00
Love Hörnquist Åstrand
43470798fb update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16739 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-14 10:45:47 +00:00
Love Hörnquist Åstrand
a0e9478679 (hx509_unparse_der_name): Rename from hx509_parse_name.
(_hx509_unparse_Name): Add.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:16:36 +00:00
Love Hörnquist Åstrand
8412fc32f1 Avoid warning from missing __attribute__((noreturn))
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16452 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 16:34:13 +00:00
Love Hörnquist Åstrand
fde07b8b17 use _hx509_abort
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16435 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 08:22:09 +00:00
Love Hörnquist Åstrand
d3a083863a (hx509_name_to_string): don't cut bmpString in half.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 22:13:35 +00:00
Love Hörnquist Åstrand
a0be6bbc6e (hx509_name_to_string): don't overwrite with 1 byte with bmpString.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 22:11:06 +00:00
Love Hörnquist Åstrand
6fd2be56ae (oidtostring): avoid leaking memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16429 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 15:48:24 +00:00
Love Hörnquist Åstrand
dbb9803d46 Add DC, handle all Directory strings, fix signless problems.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:11:35 +00:00
Love Hörnquist Åstrand
9a3ddecf98 Fix signedness warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16013 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 19:51:29 +00:00
Love Hörnquist Åstrand
f6fb9b1a0f (_hx509_name_ds_cmp): make sure all strings are not equal
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15751 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-25 22:41:48 +00:00
Love Hörnquist Åstrand
9a65106a30 fix id tags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15718 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-24 20:05:40 +00:00
Love Hörnquist Åstrand
0a70228c08 Initial revision
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15716 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-24 16:59:14 +00:00