Commit Graph

8014 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
ecfef14d45 (hx509_cert_free): if there is a private key assosited with this cert, free it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16441 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 09:41:48 +00:00
Love Hörnquist Åstrand
82b3cfe33e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16437 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 08:26:38 +00:00
Love Hörnquist Åstrand
02d27ea231 Use _hx509_abort.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16436 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 08:26:26 +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
8842cb8601 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 22:14:53 +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
36a3388bb5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 15:49:26 +00:00
Love Hörnquist Åstrand
55b6937629 (parse_certificate): avoid stomping before array
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16430 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 15:49:08 +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
34e449f026 Add _hx509_ks_dir_register.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16428 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 13:20:11 +00:00
Love Hörnquist Åstrand
b5676f89dc (libhx509_la_SOURCES): += ks_dir.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16427 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 13:19:38 +00:00
Love Hörnquist Åstrand
2dce0f8401 Remove pkcs11.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 13:18:53 +00:00
Love Hörnquist Åstrand
9d3f7175b2 Remove pcert_pkcs11.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 13:18:34 +00:00
Love Hörnquist Åstrand
13b7a732d1 Factor out certificate parsing code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 13:01:29 +00:00
Love Hörnquist Åstrand
1159d1e392 Add new keystore that treats all files in a directory a keystore,
useful for regression tests.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16423 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 13:00:41 +00:00
Love Hörnquist Åstrand
0d9a775c46 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16413 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-21 12:45:29 +00:00
Love Hörnquist Åstrand
da439731df Remove dependency on config.h, breaks IRIX build, could depend on
libkafs_la_OBJECTS, but that is just asking for trubble.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16412 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-21 12:44:50 +00:00
Love Hörnquist Åstrand
3f69c24549 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16405 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-14 09:44:50 +00:00
Love Hörnquist Åstrand
a3b5faf72e Drop ExceptionSpec for now, its not used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-14 09:44:36 +00:00
Love Hörnquist Åstrand
8bd0927d3b (krb5_cc_set_default_name): use KRB5_DEFAULT_CCNAME.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-13 15:42:36 +00:00
Love Hörnquist Åstrand
2c7a8bc348 Add KRB5_DEFAULT_CCNAME, pointer to default credential cache.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16397 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-13 15:40:50 +00:00
Love Hörnquist Åstrand
91026474ad memset hdb_entry_ex before use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16395 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-13 11:54:10 +00:00
Love Hörnquist Åstrand
50fbd27e73 memset hdb_entry_ex before use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16394 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-13 11:46:05 +00:00
Love Hörnquist Åstrand
b1854aabe6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16393 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-13 11:34:18 +00:00
Love Hörnquist Åstrand
3148e9f3b0 (kadm5_s_get_principal): memset hdb_entry_ex before use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16392 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-13 11:33:59 +00:00
Love Hörnquist Åstrand
7750a7a56a Add test_nist and test_nist_pkcs12
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16390 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 15:46:49 +00:00
Love Hörnquist Åstrand
40fdb06355 Test parse PKCS12 files from NIST.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16389 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 15:30:40 +00:00
Love Hörnquist Åstrand
ae852943f4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16388 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 15:16:05 +00:00
Love Hörnquist Åstrand
4c8088c946 Try handle HP/UX 11.nn
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16387 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 15:14:51 +00:00
Love Hörnquist Åstrand
4523de21b0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16386 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:51:23 +00:00
Love Hörnquist Åstrand
498d67f815 Add some more entrypoints.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16385 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:50:28 +00:00
Love Hörnquist Åstrand
b15b04eadd If there is a target principal, use the realm of the realm to change
the password with,


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16384 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:48:57 +00:00
Love Hörnquist Åstrand
ade9fa8270 Can handle DSA certificate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16383 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:45:39 +00:00
Love Hörnquist Åstrand
84ec5f8b73 Print error code on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16382 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:44:29 +00:00
Love Hörnquist Åstrand
31d6a81494 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16379 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:40:32 +00:00
Love Hörnquist Åstrand
0c2369acd0 Wrap hdb_entry with hdb_entry_ex, patch originally from Andrew Bartlet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16378 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:40:12 +00:00
Love Hörnquist Åstrand
eb128f4928 Wrap hdb_entry with hdb_entry_ex, add url support, add ldapi support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16377 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:34:23 +00:00
Love Hörnquist Åstrand
5a0f157944 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16376 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:30:15 +00:00
Love Hörnquist Åstrand
0fd43e84b7 Replace gss_krb5_import_ccache with gss_krb5_import_cred and add more references
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16375 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:29:56 +00:00
Love Hörnquist Åstrand
977ee6f6e3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16368 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:08:38 +00:00
Love Hörnquist Åstrand
98f78b878b Document the _r functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16367 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:08:16 +00:00
Love Hörnquist Åstrand
a28a141ec2 Constify principal argument to on krb5_principal_get_ functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16362 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-11 17:48:38 +00:00
Love Hörnquist Åstrand
8145f2b840 drop convert_db, 0.0 to 0.1 transition was a long long time ago
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16360 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-08 19:23:53 +00:00
Love Hörnquist Åstrand
36ac3bcf8e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16359 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-06 20:00:48 +00:00
Love Hörnquist Åstrand
945ffb4357 Add test string for constraints.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16358 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-06 20:00:33 +00:00
Love Hörnquist Åstrand
f1f22c334f Add support for part of the Constraint-s
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16357 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-06 19:59:52 +00:00
Love Hörnquist Åstrand
fcfe7bc161 Set new constraints pointer in Type to NULL for inline constructed types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16356 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-06 19:59:13 +00:00
Love Hörnquist Åstrand
fb7c1e5ca2 Add support for parsing part of the Constraint-s
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16355 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-06 19:57:59 +00:00
Love Hörnquist Åstrand
a7589e6109 more tests, From Andrew Bartlet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16353 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-05 18:44:02 +00:00