Commit Graph

4509 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
7edaf92f13 check return value instead of guessing on variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:40 +00:00
Love Hörnquist Åstrand
c0f4693926 drop unused return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:31 +00:00
Love Hörnquist Åstrand
d3343b5027 catch underflow/overflow errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24836 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:21 +00:00
Love Hörnquist Åstrand
6a27427df8 Catch error from functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24835 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:11 +00:00
Love Hörnquist Åstrand
15ed1d32dc Catch error from functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:01 +00:00
Love Hörnquist Åstrand
0f70a33c5b Catch error from functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:26:52 +00:00
Love Hörnquist Åstrand
b49a469952 Catch error from functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24832 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:26:42 +00:00
Love Hörnquist Åstrand
fb2a767ab3 pass flag to hx509_cms_create_signed_1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:26:32 +00:00
Love Hörnquist Åstrand
8082c12c88 q not used, don't increment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:26:22 +00:00
Love Hörnquist Åstrand
1f11af2c0c Remove unused variable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24829 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:26:12 +00:00
Love Hörnquist Åstrand
386a8ab968 check return value.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24828 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:26:02 +00:00
Love Hörnquist Åstrand
9d4f21d07b only copy out padding if we had a padding buffer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:25:52 +00:00
Love Hörnquist Åstrand
9001ff8752 drop unused value for exec_stat()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:25:42 +00:00
Love Hörnquist Åstrand
8c21864ae3 Allow weak only for windows 2000 KDCs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24823 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:25:12 +00:00
Love Hörnquist Åstrand
00d9ce5a73 add _krb5_pk_enterprise_cert, from Martin von Gagern.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24757 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:14:20 +00:00
Love Hörnquist Åstrand
03df2af75e add krb5_get_init_creds_opt_set_process_last_req, from Martin von Gagern.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24756 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:14:08 +00:00
Love Hörnquist Åstrand
7f0f3de8ee doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24754 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:13:43 +00:00
Love Hörnquist Åstrand
e8eb837b41 doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:13:32 +00:00
Love Hörnquist Åstrand
4ed2490144 Verify checksum.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:13:21 +00:00
Love Hörnquist Åstrand
8acbbf8edf simplify now that there is only one data buffer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24751 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:13:08 +00:00
Love Hörnquist Åstrand
dcb75ee170 Only one DATA buffer for _iov functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24750 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:12:55 +00:00
Love Hörnquist Åstrand
8fa89322db Only one buffer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24749 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:12:44 +00:00
Love Hörnquist Åstrand
067ce6a1af fix warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24709 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:14:54 +00:00
Love Hörnquist Åstrand
953fc83a9e add selected cert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24708 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:14:45 +00:00
Love Hörnquist Åstrand
6dd306be22 keyex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24707 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:14:35 +00:00
Love Hörnquist Åstrand
ac802945fa Pick cert upfront, so that we know that we are using an ECDSA cert and
should use ECDH for the key exchange.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24706 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:14:26 +00:00
Love Hörnquist Åstrand
e2413291b1 Move DH code out of the common path.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24700 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:13:28 +00:00
Love Hörnquist Åstrand
237cc964d3 Make ECDH work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:13:15 +00:00
Love Hörnquist Åstrand
0222c98eaa Make ECDH work.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24698 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:13:05 +00:00
Love Hörnquist Åstrand
adba9c066a Create key and assign group before starting to parse.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24694 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:12:23 +00:00
Love Hörnquist Åstrand
5585a2b58b use variable instead of oid function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24693 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:17:57 +00:00
Love Hörnquist Åstrand
651fe508c0 ECDH bits, still need negotiation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24686 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:16:44 +00:00
Love Hörnquist Åstrand
79c232c708 print etype on one line
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24644 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:11:44 +00:00
Love Hörnquist Åstrand
b7323a8b85 (process_last_request): Process the lr.func even if we have no prompter.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24643 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:11:36 +00:00
Love Hörnquist Åstrand
ec2535c8d8 add test_gic
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24641 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:07:13 +00:00
Love Hörnquist Åstrand
2ac3c49016 test for krb5_get_init_creds_opt_set_process_last_req
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24640 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:07:03 +00:00
Love Hörnquist Åstrand
12a7a9e488 Prepare for ECDH.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24638 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:06:43 +00:00
Love Hörnquist Åstrand
62a968de1b Add _krb5_pk_enterprise_cert that figures out the enterprise name to
use for PK-INIT from the certs.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:10:31 +00:00
Love Hörnquist Åstrand
2a3d7edf56 anonymous doesn't require service name change
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24615 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:10:21 +00:00
Love Hörnquist Åstrand
0a426e075f fix spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:07:02 +00:00
Love Hörnquist Åstrand
a1ef548600 Anonymous pkinit support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24594 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:06:52 +00:00
Love Hörnquist Åstrand
59232b3083 Add KRB5_WELLKNOWN_NAME and KRB5_ANON_NAME
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24568 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:02:23 +00:00
Love Hörnquist Åstrand
45c3916e4e move test-ap-req
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:50:16 +00:00
Love Hörnquist Åstrand
ca477996be build ap-req
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24553 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:49:36 +00:00
Love Hörnquist Åstrand
82d096d5a2 remove heimdal smaller, kadm5 needs it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24538 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:46:06 +00:00
Love Hörnquist Åstrand
cc0a07301a catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 21:51:04 +00:00
Love Hörnquist Åstrand
f667d10608 less casting to make it work on LP64 platforms where off_t is signed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24486 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 21:50:53 +00:00
Love Hörnquist Åstrand
2494d521ac compare aliases
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 01:01:56 +00:00
Love Hörnquist Åstrand
f3f32be246 document flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:49:20 +00:00
Love Hörnquist Åstrand
defb2afef1 parse/store flags field
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24469 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:49:10 +00:00