Commit Graph

3430 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand 46d54811be init count before use, coverity #150
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24096 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:58:58 +00:00
Love Hörnquist Åstrand ada58d9cd3 Additional patch from Christan Krause to handle asprintf better
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24041 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-15 04:43:42 +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 4019104f4e fix comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23983 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:25:34 +00:00
Love Hörnquist Åstrand 28b7a2063e (pop_msg): make format const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:21:44 +00:00
Love Hörnquist Åstrand 19a15ffe1c (pop_msg): make format const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23961 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:21:33 +00:00
Love Hörnquist Åstrand 5e35a4cf44 make standard_error a const string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23960 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-26 18:21:22 +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 fe1a976ae2 new krb5_cc_cache_match
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:03:21 +00:00
Love Hörnquist Åstrand ab68b1d64f spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:00:24 +00:00
Love Hörnquist Åstrand 63a449b610 use gsskrb5_extract_authz_data_from_sec_context()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23874 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-08 16:14:30 +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 aed77c3b59 ASL_KEY_FACILITY missing on Mac OS X, 10.4, From Mans Nilsson.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23732 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:04:51 +00:00
Love Hörnquist Åstrand a49e8f06b8 no need to step p forward if we are not going to use it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:16 +00:00
Love Hörnquist Åstrand fb2afb96fd catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:11 +00:00
Love Hörnquist Åstrand ae597b8166 catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23511 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:57 +00:00
Love Hörnquist Åstrand 77c0066e58 Not init len, return never used (overwritten later).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23490 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:44 +00:00
Love Hörnquist Åstrand 00a5e738b9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23365 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-15 11:26:00 +00:00
Love Hörnquist Åstrand 6ebd745fd7 no krb4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23364 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-15 11:25:50 +00:00
Love Hörnquist Åstrand 1e2c257600 Drop kerberos 4 support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23363 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-15 11:25:29 +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 d30899de91 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-31 08:15:49 +00:00
Love Hörnquist Åstrand 5a2f80dbaf Use the correct length for unmap, msync
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 14:14:09 +00:00
Love Hörnquist Åstrand ed34fe2309 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 14:13:43 +00:00
Love Hörnquist Åstrand ddb80b9210 Rewrite sliding window code so it doesn't have a integer overrun.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 03:37:58 +00:00
Love Hörnquist Åstrand 6ffc3daa37 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23212 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:22:30 +00:00
Love Hörnquist Åstrand 5956372480 Try sliding mmap window over memory file (10MB window), works better with larger files (ie doesn't fail).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:22:15 +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 85c940fa73 Sync with NetBSD rcp, add v6 parsing support and no setuid code at all.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-17 17:30:06 +00:00
Love Hörnquist Åstrand 2a96137bdb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:54:53 +00:00
Love Hörnquist Åstrand 3a9774c8eb Reorder to avoid prototype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22983 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:54:49 +00:00
Love Hörnquist Åstrand 9d195f977d Should just drop wtmp support, make a comment that we should.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22982 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:54:45 +00:00
Love Hörnquist Åstrand a65d2977ee x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:54:41 +00:00
Love Hörnquist Åstrand 8813c7dae3 If cygwin doesnt have WTMPX_FILE, it uses wtmp for wtmpx
http://www.cygwin.com/ml/cygwin/2006-12/msg00630.html


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22980 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:54:33 +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 adf02cb72e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 10:44:18 +00:00
Love Hörnquist Åstrand da109cd27f Use asl for logging ftpd wtmp messages.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 10:44:14 +00:00
Love Hörnquist Åstrand e73d108978 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22948 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 09:47:32 +00:00
Love Hörnquist Åstrand ae560bddd3 Remove utmp warning on mac os x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 09:47:28 +00:00
Love Hörnquist Åstrand 90177e82db add AlgorithmIdentifier for glue.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 09:47:16 +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