Commit Graph

3247 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
3da792b3fa Add ret and store function for the unsigned fixed size integer types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:16:08 +00:00
Love Hörnquist Åstrand
3569569378 Test the integer storage types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17423 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 09:15:07 +00:00
Love Hörnquist Åstrand
294a6cc6e0 (krb5_store_principal): make it take a krb5_const_principal, indent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17422 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 18:58:04 +00:00
Love Hörnquist Åstrand
2c66c7c02b krb5_store_principal takes a krb5_const_principal
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17421 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 18:57:35 +00:00
Love Hörnquist Åstrand
9b824aa05f Deal with that hx509_prompt.reply is no longer a pointer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17420 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-03 18:56:27 +00:00
Love Hörnquist Åstrand
bba691f8a8 Spelling/mdoc changes, from Björn Sandell.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17387 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 09:26:31 +00:00
Love Hörnquist Åstrand
e0c1c293c5 update .Dd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17386 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 08:48:56 +00:00
Love Hörnquist Åstrand
40230797a3 Spelling/mdoc changes, from Björn Sandell.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17385 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 08:48:55 +00:00
Love Hörnquist Åstrand
8a0179a06a Spelling/mdoc changes, from Björn Sandell.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17383 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 07:13:03 +00:00
Love Hörnquist Åstrand
2644ec46b0 update .Dd and (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17382 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 07:09:16 +00:00
Love Hörnquist Åstrand
0c4a59b643 Spelling/mdoc changes, from Björn Sandell.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17381 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 07:05:07 +00:00
Love Hörnquist Åstrand
fe0b3a491c Spelling, from Björn Sandell.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17380 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-01 07:01:18 +00:00
Love Hörnquist Åstrand
fa7b5da860 (cert2epi): don't include subject if its null
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17368 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-30 07:36:27 +00:00
Love Hörnquist Åstrand
92ed76e969 Send over what trust anchors the client have configured.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17364 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-29 21:29:28 +00:00
Love Hörnquist Åstrand
03276c9ead (pk_verify_host): set better error string, only check kdc name/address
when we got a hostname/address passed in the the function.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17349 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-29 15:04:42 +00:00
Love Hörnquist Åstrand
e5194fdc60 (pk_verify_host): verify hostname/address
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17332 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-28 11:23:35 +00:00
Love Hörnquist Åstrand
25f574426e (_krb5_pk_allow_proxy_certificate); less arguments better
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17291 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 18:54:16 +00:00
Love Hörnquist Åstrand
53905171a0 (_krb5_pk_allow_proxy_certificates): expose hx509_verify_set_proxy_certificate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 18:41:40 +00:00
Love Hörnquist Åstrand
2894e05a71 Remove a double free introduced in 1.93
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 15:16:14 +00:00
Love Hörnquist Åstrand
b24395ffde (log_file): reset pointer to freed memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17214 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 15:09:27 +00:00
Love Hörnquist Åstrand
4ba57d49e9 (get_cell_and_realm): reset d->cell to make sure its not refereced
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 15:06:57 +00:00
Love Hörnquist Åstrand
61b5a1a5df indent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17206 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 10:16:36 +00:00
Love Hörnquist Åstrand
4049e76902 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 08:49:08 +00:00
Love Hörnquist Åstrand
2157835b75 Pass down realm to pk_verify_host so the function can verify the
certificate is from the right realm.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 08:23:47 +00:00
Love Hörnquist Åstrand
a49278a8b4 Pass down realm to _krb5_pk_rd_pa_reply
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 08:21:52 +00:00
Love Hörnquist Åstrand
4828d9e4e4 (pk_verify_host): Add begining of finding subjectAltName_otherName
pk-init-san and verifing it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17192 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 21:30:17 +00:00
Love Hörnquist Åstrand
0a1e672d85 reindent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17190 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 21:14:07 +00:00
Love Hörnquist Åstrand
9578393792 Add pkinit_require_eku and pkinit_require_krbtgt_otherName
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17177 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 20:07:51 +00:00
Love Hörnquist Åstrand
313fa917d5 Adapt to change in hx509_cms_create_signed_1.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-22 12:10:16 +00:00
Love Hörnquist Åstrand
e43d859600 Handle diffrences between libhcrypto and libcrypto.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17109 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-20 17:08:46 +00:00
Love Hörnquist Åstrand
c3e1233f63 (krb5_rd_safe): fix argument to krb5_data_zero, handle message size = 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17057 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 16:20:03 +00:00
Love Hörnquist Åstrand
766c132ea1 Fix argument to krb5_data_zero.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17056 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 16:18:10 +00:00
Love Hörnquist Åstrand
19aee3ece1 (_krb5_pk_load_id): Added certificate revoke information, ie CRL's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17053 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 13:19:13 +00:00
Love Hörnquist Åstrand
7452077a9f (krb5_rc_resolve_full): make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17047 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-10 17:13:49 +00:00
Love Hörnquist Åstrand
c56cfcb861 (krb4_kt_start_seq_get_int): make compile again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17046 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-10 17:10:53 +00:00
Love Hörnquist Åstrand
2eeae67af7 (make_path): make sure we return allocated memory
Coverity, NetBSD CID#1892


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17043 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-10 10:26:35 +00:00
Love Hörnquist Åstrand
69dda05a9c (krb5_verify_authenticator_checksum): on protocol failure, avoid leaking memory
Coverity, NetBSD CID#1900


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17042 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-10 10:14:44 +00:00
Love Hörnquist Åstrand
c41e1b2980 (krb5_parse_name): remember to free realm in case of error
Coverity, NetBSD CID#1883


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17041 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-10 10:10:01 +00:00
Love Hörnquist Åstrand
55178a0d79 (krb5_425_conv_principal_ext2): remove memory leak in case of weird
formated dns replys.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17040 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-10 10:02:48 +00:00
Love Hörnquist Åstrand
c5dd980dba (krb5_rc_resolve_full): don't return pointer to a allocated
krb5_rcache in case of error.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17039 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-10 09:48:42 +00:00
Love Hörnquist Åstrand
9be36e4522 (krb5_addlog_dest): free fn in case of error
Coverity, NetBSD CID#1882


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17038 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-10 09:41:26 +00:00
Love Hörnquist Åstrand
7b91fa46c7 Fix deref before NULL check, fix error handling.
Coverity, NetBSD CID#2369


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17037 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-10 09:33:15 +00:00
Love Hörnquist Åstrand
494ca3d6a8 (krb5_get_forwarded_creds): in_creds->client should always be set, assume so.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17036 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-10 09:28:15 +00:00
Love Hörnquist Åstrand
db048d96d6 (any_next_entry): restructure to make it easier to read
Fixes Coverity, NetBSD CID#625


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-10 09:20:13 +00:00
Love Hörnquist Åstrand
2a7b485275 (krb5_string_to_key_derived): deref after NULL check.
Coverity NetBSD CID#2367


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17034 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-10 08:58:53 +00:00
Love Hörnquist Åstrand
6b9e922298 (krb5_build_authenticator): use calloc. removed check that was never
really used. Coverity NetBSD CID#2370


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-10 08:53:21 +00:00
Love Hörnquist Åstrand
59aa089d03 (krb5_verify_ap_req2): make sure `ticket´ points to NULL in case of
error, add error handling, use calloc.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17025 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-09 17:56:10 +00:00
Love Hörnquist Åstrand
4466bd867f (krb5_ret_principal): fix memory leak
Coverity, NetBSD CID#1695


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17018 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-07 22:23:20 +00:00
Love Hörnquist Åstrand
5a761c7f96 (krb5_kt_ret_principal): plug a memory leak
Coverity NetBSD CID#1890


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17013 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-07 21:57:31 +00:00
Love Hörnquist Åstrand
d9b82bea73 fix spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16958 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 10:32:20 +00:00