Commit Graph

30 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
7a6904bd9d if no mech have no session, its ok, just don't call it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:16:02 +00:00
Love Hörnquist Åstrand
07a870bdf1 move ksetpag after initgroups to make it work on Linux when its without syscall hooks to change sys_setgroups preserve the pag. From abo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21222 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:11:14 +00:00
Love Hörnquist Åstrand
f74a40ff85 Check return value from asprintf instead of string != NULL since it
undefined behavior on Linux. From Björn Sandell


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-22 12:49:00 +00:00
Johan Danielsson
bc8df2efca add -x (encrypt) option; implement cprotect (from MIT); make sure we
CCC if switching to clear-text command channel


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-12 09:46:42 +00:00
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
4f35833952 keep track of if CCC was passed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15611 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 15:45:13 +00:00
Love Hörnquist Åstrand
0be6a3d662 use strlcat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14934 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-24 20:14:10 +00:00
Love Hörnquist Åstrand
94ad9d0c80 cast size_t to unsigned long
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-20 10:34:12 +00:00
Johan Danielsson
55cebea766 (sec_vfprintf): free encoded data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11393 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-04 22:01:28 +00:00
Assar Westerlund
b56e55eb69 (sec_end): only clean app_data if there is any
(*): do realloc consistently


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-07 10:49:43 +00:00
Johan Danielsson
ee1a5e70e9 (sec_read): fix bug in previous (from Jacques A. Vidrine
<n@nectar.com>)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-08 23:30:32 +00:00
Assar Westerlund
e41038ec40 (sec_read): more paranoia with return value from sec_get_data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7874 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-07 03:11:43 +00:00
Johan Danielsson
3ca5f8150f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7463 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 16:58:55 +00:00
Assar Westerlund
30b16f408c (sec_login): check return value from realloc
(sec_end): set app_data to NULL


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7446 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-29 03:16:29 +00:00
Johan Danielsson
9be4739d73 get_command_prot; (sec_prot): partially match command' and data'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7216 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-21 17:22:54 +00:00
Assar Westerlund
7938449553 read fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7152 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-17 10:31:57 +00:00
Johan Danielsson
cfb458bcee add sec_vfprintf2' and sec_fprintf2' that prints to the data stream
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7084 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 16:34:26 +00:00
Johan Danielsson
006660b94a (set_command_prot): set command protection level
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7077 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 15:45:04 +00:00
Johan Danielsson
0387e48ba6 make it possible to set the command protection level with `prot'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7076 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 15:38:38 +00:00
Johan Danielsson
dd8524937b (sec_login): if mechanism returns AUTH_CONTINUE, just continue with
the next mechanism, this fixes the case of having GSSAPI fail because
of non-existant of expired tickets


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5862 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-07 14:16:48 +00:00
Assar Westerlund
645fbcd3c2 some more type correctness.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5208 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-11-21 22:13:20 +00:00
Assar Westerlund
beeb156b1a (sec_login): fix loop and return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5180 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-11-02 00:57:47 +00:00
Assar Westerlund
8b7eea88d8 (auth): free `app_data'
(sec_end): only destroy if it was initialized


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5044 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-30 16:06:07 +00:00
Johan Danielsson
5f4f0ccfc6 Some casts.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4768 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-04-13 10:23:33 +00:00
Johan Danielsson
7bebd4461d Fix for IRIX cc.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4747 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-04-05 20:21:07 +00:00
Johan Danielsson
6d51cd1dfc Make compile w/o krb4.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4684 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-26 23:46:03 +00:00
Johan Danielsson
e3cea33ed5 New unified security framework.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4672 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-26 02:57:34 +00:00