Commit Graph

14962 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
99a6bdb769 Fix shadow warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15677 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:33:08 +00:00
Love Hörnquist Åstrand
5116c50655 Fix shadow warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15676 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:30:48 +00:00
Love Hörnquist Åstrand
718ab89892 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15675 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:20:40 +00:00
Love Hörnquist Åstrand
6ed70c8045 Remove parameter names to avoid shadow warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15674 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:20:27 +00:00
Love Hörnquist Åstrand
8c7c8ea323 fix shadow warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15673 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:19:33 +00:00
Love Hörnquist Åstrand
30cb2f9c22 (decode_type): tagdatalen should be an size_t.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:09:30 +00:00
Love Hörnquist Åstrand
35506ca735 (decode_heim_any): tag is unsigned int.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:05:16 +00:00
Love Hörnquist Åstrand
dd801b3ca3 (der_match_tag): tag is unsigned int.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:04:00 +00:00
Love Hörnquist Åstrand
a0f68f2640 (length_type): cast size_t argument to unsigned long and use
appropriate printf format


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15669 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:01:59 +00:00
Love Hörnquist Åstrand
c03dd92230 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15668 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 17:09:09 +00:00
Love Hörnquist Åstrand
c236c30dff Kerberos 5 klist.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15667 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 17:08:42 +00:00
Love Hörnquist Åstrand
70e4fce904 Add Kerberos 5 klist, old patch from Tomas Nyström (remove krb4 support).
Support klist in client for kerberos 5 clase.
Clean up delegation of gss tokens and do afslog.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 17:08:11 +00:00
Love Hörnquist Åstrand
111eda69f8 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15665 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 15:09:32 +00:00
Love Hörnquist Åstrand
5940c92087 (check_fail_bitstring): check for length overflow
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15664 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 15:09:18 +00:00
Love Hörnquist Åstrand
352e621dd6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15663 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 15:08:38 +00:00
Love Hörnquist Åstrand
0f15be4a2d rewrite integer overflow tests w/o SIZE_T_MAX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15662 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 15:08:18 +00:00
Love Hörnquist Åstrand
eaaf5d23fd (generic_decode_fail): only copy in if checklen its less then 0xffffff
and larger than 0.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15661 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 15:07:25 +00:00
Love Hörnquist Åstrand
0a52623725 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 14:21:43 +00:00
Love Hörnquist Åstrand
c77f5c2515 (find_tag): find external references, we can't handle those, so tell
user that instead of crashing


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 14:21:28 +00:00
Love Hörnquist Åstrand
c2f3dcf61d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15658 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 14:18:55 +00:00
Love Hörnquist Åstrand
42c8e8f966 (free_heim_any_set): Fix return.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 14:18:39 +00:00
Love Hörnquist Åstrand
a42c7b8b15 (find_tag): Fix return in TType case.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 14:16:25 +00:00
Love Hörnquist Åstrand
c2385704fd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-15 13:13:45 +00:00
Love Hörnquist Åstrand
eada81c4d8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-15 00:54:50 +00:00
Love Hörnquist Åstrand
22ca9e3e4a Check encoder lengths from ASN1_MALLOC_ENCODE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-14 10:12:51 +00:00
Love Hörnquist Åstrand
ca2802aba8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15647 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 10:40:36 +00:00
Love Hörnquist Åstrand
ab69af8c30 (TChoice): add () to make sure variable expression is evaluated correctly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15646 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 10:40:23 +00:00
Love Hörnquist Åstrand
85342c54c4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15645 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 08:29:43 +00:00
Love Hörnquist Åstrand
4e312517de (gss_adat): avoid leaking memory
(gss_auth): always try next kname if there is one, independant of min_stat


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15644 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 08:29:29 +00:00
Love Hörnquist Åstrand
d9eb674e71 (krb5_rd_cred): don't leak memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15643 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 08:22:50 +00:00
Love Hörnquist Åstrand
a4a3844b88 avoid const warning, use sin4 instead of sin to avoid shadow warning,
free target_name


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15642 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 08:02:39 +00:00
Love Hörnquist Åstrand
7712e99eb3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15641 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 07:58:49 +00:00
Love Hörnquist Åstrand
c079388c13 (nl_getlist): poll to get messages from kernel, and retry if the
message was lost
(free_nlmsglist): free all linked elements, not just the first one


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15640 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 07:58:36 +00:00
Love Hörnquist Åstrand
0f1c19edb9 (krb5_get_credentials_with_flags): only call krb5_cc_retrieve_cred
once, and plug memory leak.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15639 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 07:38:02 +00:00
Love Hörnquist Åstrand
b8703f6d40 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15638 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 07:00:34 +00:00
Love Hörnquist Åstrand
33f176705d (spnego_initial): NegotiationToken encoder now that we have one with
the new asn1. compiler.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15637 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 07:00:15 +00:00
Love Hörnquist Åstrand
50215461bc the new asn.1 compiler includes the modules name in the depend file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15636 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 06:55:28 +00:00
Love Hörnquist Åstrand
a6c240e6aa x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15635 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 06:54:33 +00:00
Love Hörnquist Åstrand
237641e2ca update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15634 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 06:08:07 +00:00
Love Hörnquist Åstrand
e101a6175e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15633 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 05:34:47 +00:00
Love Hörnquist Åstrand
f1542ef9cd (fkt_start_seq_get_int): check return value from krb5_storage_from_fd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15632 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 05:34:29 +00:00
Love Hörnquist Åstrand
1b5061371c reapply 1.43 that got lost in the merge: rename pvno to krb5-pvno
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15631 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 05:29:49 +00:00
Love Hörnquist Åstrand
f0c2551101 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15630 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 22:31:40 +00:00
Love Hörnquist Åstrand
88be64c770 (pk_rd_pa_reply_dh): client do not contribute to the DH when the
server doesn't support the cached DH request.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 22:31:22 +00:00
Love Hörnquist Åstrand
cba53a17f2 (_krb5_pk_octetstring2key): fix arguments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15628 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 22:29:52 +00:00
Love Hörnquist Åstrand
d79bcbb3a6 (decode_type): TChoice: set the label
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 18:08:38 +00:00
Love Hörnquist Åstrand
b49d932283 (cmp_Name): do at least some checking
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 18:05:29 +00:00
Love Hörnquist Åstrand
bc4a5a1bdd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 16:55:27 +00:00
Love Hörnquist Åstrand
18685711aa x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15624 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 13:40:43 +00:00
Love Hörnquist Åstrand
23dae960cd clean up pk-init DH support, not finished yet;
improve error reporting


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15623 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-12 13:39:51 +00:00