Love Hornquist Astrand
e8c46282ee
Free keyblock when krb5_mk_rep() failes [CID-174]
2009-07-30 09:51:00 +02:00
Love Hörnquist Åstrand
c529394cb5
fix warning
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:03:07 +00:00
Love Hörnquist Åstrand
67612f57da
fix warning
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:02:57 +00:00
Love Hörnquist Åstrand
131474b736
remove krb4
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24520 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:15:02 +00:00
Love Hörnquist Åstrand
d5088379e8
drop krbv4 support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:14:49 +00:00
Love Hörnquist Åstrand
da6c344eec
drop krbv4 support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24518 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:14:34 +00:00
Love Hörnquist Åstrand
57ed4efd37
drop krbv4 support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24517 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:14:20 +00:00
Love Hörnquist Åstrand
b0d0df99da
drop krbv4 support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24516 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:14:05 +00:00
Love Hörnquist Åstrand
cd4909239a
drop krbv4 support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:13:50 +00:00
Love Hörnquist Åstrand
0a03359817
drop krbv4 support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:13:33 +00:00
Love Hörnquist Åstrand
c2cb98712c
drop krbv4 support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:13:17 +00:00
Love Hörnquist Åstrand
c0513b4d95
drop krbv4 support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24512 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:13:03 +00:00
Love Hörnquist Åstrand
25a7b258ea
make sure we dont print off the end of the gss_buffer_t, they are defined to not included NULL, in heimdal they are but thats an implementation detail, dont teach people about that. From: Christian Krause
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-12 04:19:52 +00:00
Love Hörnquist Åstrand
3ad1d78d63
make roken not provide environ, its really something that doesnt work in a multinamespace enviroments (read mac os x)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23943 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-19 04:57:42 +00:00
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
7050354151
more includes files for solaris.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 04:27:18 +00:00
Love Hörnquist Åstrand
56f2ac7ff1
move encrypt.h and misc.h later
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23262 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-21 15:22:56 +00:00
Love Hörnquist Åstrand
71a0098c0d
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 18:49:46 +00:00
Love Hörnquist Åstrand
d2ecc5a8af
Use RAND_bytes() + DES_is_weak_key() to generate random DES
...
key. Introdunce random by feeding the des session key into the random
pool when the keys is recived instead of encrypt the random key with
the kerberos key.
This avoid depenency on DES_new_random_key() that doesn't exists in OpenSSL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 18:49:41 +00:00
Love Hörnquist Åstrand
c99e6f2245
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-18 10:01:59 +00:00
Love Hörnquist Åstrand
bdc1855499
No need to call DES_init_random_number_generator, hcrypto is sane now.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23034 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-18 10:01:54 +00:00
Love Hörnquist Åstrand
cd980194d9
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-18 10:01:48 +00:00
Love Hörnquist Åstrand
aa080e84ce
Use DES_new_random_key().
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-18 10:01:40 +00:00
Love Hörnquist Åstrand
811523efa5
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 10:44:29 +00:00
Love Hörnquist Åstrand
5f47850b7e
Really, mac os uses wtmpx (or asl).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 10:44:23 +00:00
Love Hörnquist Åstrand
fe5323f0e5
use unsigned/size_t where approprite
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:52:20 +00:00
Love Hörnquist Åstrand
254f650128
Use size_t where appropriate.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:52:03 +00:00
Love Hörnquist Åstrand
b077706b1d
Use size_t where appropriate.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:58 +00:00
Love Hörnquist Åstrand
574683e7ab
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 21:48:09 +00:00
Love Hörnquist Åstrand
bdd75a7ca8
Dont need to set this as the controlling PTY on steams sockets, don't
...
abort on failure. From Harald Barth and Ian Delahorne.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22665 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 21:47:53 +00:00
Love Hörnquist Åstrand
793dd27918
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22391 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-31 10:13:15 +00:00
Love Hörnquist Åstrand
39733fdb03
Use strlcpy instead of strncpy, thanks to Antoine Brodin.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22390 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-31 10:12:48 +00:00
Love Hörnquist Åstrand
5fed824f37
its vs it\'s etc. From Bjorn Sandell
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-14 20:04:50 +00:00
Love Hörnquist Åstrand
992f052ac7
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21749 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 18:58:22 +00:00
Love Hörnquist Åstrand
28dc596f15
(usage): use exit_code, add --version and --help.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21748 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 18:57:20 +00:00
Love Hörnquist Åstrand
91352af590
Usage is static now.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21734 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 01:55:45 +00:00
Love Hörnquist Åstrand
47a4623c9c
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21733 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 01:40:58 +00:00
Love Hörnquist Åstrand
cd48123810
Add --help.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21732 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 01:40:30 +00:00
Love Hörnquist Åstrand
15ea035aef
Catch --help, reported by David Love.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21731 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-30 20:01:26 +00:00
Love Hörnquist Åstrand
3d31f777e0
Remove leftover.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21520 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 13:11:49 +00:00
Love Hörnquist Åstrand
9cd3a9b5f0
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 13:06:35 +00:00
Love Hörnquist Åstrand
578a6f5594
GLIBC made the choice that ut_tv should be shared between 32 and 64
...
bit platforms so now we can no longer use struct timeval functions to
compare or set/get data that uses pointer (gettimeofday for example)
since ut_tv is now not a struct timeval but rather a struct { int32_t
tv_sec; int32_t tv_usec; };
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21518 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 13:04:50 +00:00
Love Hörnquist Åstrand
cc4333b758
remove cvs ignore files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 03:09:59 +00:00
Love Hörnquist Åstrand
7ba2b2006c
rename des to hcrypto
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +00:00
Love Hörnquist Åstrand
32219af692
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 15:58:07 +00:00
Love Hörnquist Åstrand
94d736b2ab
Include roken.h before the local headerfiles.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 19:14:13 +00:00
Love Hörnquist Åstrand
8833c418b6
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18758 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 15:47:52 +00:00
Love Hörnquist Åstrand
585ce9cbb0
HP/UX defines SE in sys/uio.h, #undef it.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18757 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 15:47:35 +00:00
Love Hörnquist Åstrand
e7c62c79bb
Fix spelling.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18742 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 13:37:28 +00:00