Commit Graph

4771 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
f1a66a04b2 assign array instead of p++
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24850 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:39 +00:00
Love Hörnquist Åstrand
6264d0b528 catch error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24849 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:29 +00:00
Love Hörnquist Åstrand
28230ca61a catch error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24848 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:20 +00:00
Love Hörnquist Åstrand
022c117434 catch error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:29:10 +00:00
Love Hörnquist Åstrand
ef088ee696 error never read again, just drop it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24846 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:59 +00:00
Love Hörnquist Åstrand
5684eb4435 running strsep_copy again, yield same result
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:50 +00:00
Love Hörnquist Åstrand
0922b9168e client_realm is never read
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:40 +00:00
Love Hörnquist Åstrand
b8946878b8 remove dead assignment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24843 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:30 +00:00
Love Hörnquist Åstrand
08b3bcc294 catch error from krb5_store_int32
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24842 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:19 +00:00
Love Hörnquist Åstrand
e1e65f1fbd krb5_425_conv_* misc functions are deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24841 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:09 +00:00
Love Hörnquist Åstrand
ce2ab466e6 krb5_425_conv_principal is deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:28:00 +00:00
Love Hörnquist Åstrand
4e5f2d4ab5 krb5_425_conv_principal_ext is deprecated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24839 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:27:50 +00:00
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