Commit Graph

41 Commits

Author SHA1 Message Date
Asanka Herath
a0ae9f5a0e Merge remote branch 'h-github/master' into win32-port2
* h-github/master: (64 commits)
  refix socket wrappers with rk_
  Patch from Secure Endpoints/Asanka Herath for windows support
  unset KRB5CCNAME
  its really just LIBADD more most of them
  correct quoting
  Use -lpthread for modern freebsd instead
  clean KRB5CCNAME and KRB5_CONFIG, require test to reset them
  more up ${env_setup}
  use PTHREADS_LIBADD for freebsd6 and newer
  add PTHREAD_LIBADD
  add PTHREAD_LIBADD
  add PTHREAD_LIBADD
  switch to PTHREADS_LIBADD
  log what the error string say too
  More debug logging
  sprinkle more 'echo "test failed"'
  sprinkle 'echo "test failed"'
  use calloc(), indent more prettier
  in sh, equal compare is really = for strings, not ==
  Check for duplicates, already loaded mechs
  ...

Conflicts (resolved):
	lib/krb5/auth_context.c
	lib/krb5/changepw.c
	lib/krb5/context.c
	lib/krb5/error_string.c
	lib/krb5/kuserok.c
	lib/krb5/libkrb5-exports.def.in
	lib/krb5/net_write.c
	lib/krb5/store_fd.c
	lib/krb5/test_cc.c
	lib/roken/strerror_r.c
2009-12-21 13:44:00 -05:00
Love Hornquist Astrand
5e43df65a5 make compile 2009-12-07 21:10:52 -08:00
Asanka Herath
b1063ea8fc Initial Windows port 2009-11-24 10:11:14 -08:00
Love Hornquist Astrand
7afc04e7cf switch to use EVP interface instead of old crypto interface 2009-08-17 13:56:59 +02:00
Love Hornquist Astrand
55c9d66d80 Drop md5/md4/rc4 reference and use EVP_ interface 2009-08-11 11:30:04 +02:00
Love Hörnquist Åstrand
f08c32fbd0 remove rcsid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24481 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 20:49:43 +00:00
Love Hörnquist Åstrand
0aa582523a check for null before freeing, cid#32
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:08:06 +00:00
Love Hörnquist Åstrand
b1f9462cfc check for null before freeing, cid#33
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:07:56 +00:00
Love Hörnquist Åstrand
e015c36060 check for null before freeing, cid#34
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:07:46 +00:00
Love Hörnquist Åstrand
12edcfbf3b check return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:07:35 +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
93b208c745 add example
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23717 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-01 10:54:15 +00:00
Love Hörnquist Åstrand
34ed1a507f update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23687 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-26 12:35:02 +00:00
Love Hörnquist Åstrand
b33f72ddc2 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23686 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-26 12:34:50 +00:00
Love Hörnquist Åstrand
da29ca9744 define HC_DEPRECATED_CRYPTO
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-21 22:10:09 +00:00
Love Hörnquist Åstrand
4bd353502b replace hashes with keys.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-22 02:52:07 +00:00
Love Hörnquist Åstrand
eae89239c4 Use DES_set_key_unchecked().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 18:51:30 +00:00
Love Hörnquist Åstrand
28f2cb6167 Make heim_ntlm_decode_type3 more useful and provide a username. From
Ming Yang.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22370 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-28 16:12:01 +00:00
Love Hörnquist Åstrand
49f05da183 its the gsssapi lib that implments transport int/conf.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22052 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-11 12:21:14 +00:00
Love Hörnquist Åstrand
0436e4e64f defgroup text
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22047 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-11 09:01:39 +00:00
Love Hörnquist Åstrand
21149f6fbb move doxygen into the main file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22045 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-11 08:57:47 +00:00
Love Hörnquist Åstrand
012e43e671 Add doxygen documentation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22044 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-11 08:39:41 +00:00
Love Hörnquist Åstrand
60137763e2 export heim_ntlm_free_buf, start doxygen documenation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22041 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-11 07:43:27 +00:00
Love Hörnquist Åstrand
f9f4c5c20f Use unsigned char * as argument to HMAC_Update to please OpenSSL and gcc.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21604 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-17 06:48:55 +00:00
Love Hörnquist Åstrand
9733de710d Add comments.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 19:22:02 +00:00
Love Hörnquist Åstrand
f24894d375 drop _resp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:59:58 +00:00
Love Hörnquist Åstrand
91b95fb049 Change prototype to match other heim_ntlm_calculate functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21202 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:59:09 +00:00
Love Hörnquist Åstrand
f41e6c93f8 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:27:40 +00:00
Love Hörnquist Åstrand
9d57ac6b37 Merge in changes from Puneet Mehra and make work again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21193 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:04:36 +00:00
Love Hörnquist Åstrand
d65998b43d (heim_ntlm_ntlmv2_key): target should be uppercase.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21192 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 04:16:54 +00:00
Love Hörnquist Åstrand
b07e515ab9 Test heim_ntlm_calculate_ntlm2_sess_resp from Puneet Mehra.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21190 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 04:08:53 +00:00
Love Hörnquist Åstrand
592ffea5a2 Make free functions free memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20816 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 04:36:31 +00:00
Love Hörnquist Åstrand
2904a66bb1 Extract the infotarget from the answer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 00:25:17 +00:00
Love Hörnquist Åstrand
5809ab6a85 (heim_ntlm_verify_ntlm2): verify the ntlmv2 reply
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-25 23:40:45 +00:00
Love Hörnquist Åstrand
36f0777805 Include <limits.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-22 22:51:29 +00:00
Love Hörnquist Åstrand
a93ff932a2 Add ntlmv2 answer calculating functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19478 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 19:58:38 +00:00
Love Hörnquist Åstrand
e42b5f4049 sent lm hashes, needed for NTLM2 session
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19467 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 00:47:32 +00:00
Love Hörnquist Åstrand
10483c353c (heim_ntlm_build_ntlm1_master): return session master key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19442 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 15:33:17 +00:00
Love Hörnquist Åstrand
276d560deb (heim_ntlm_build_ntlm1_master): calculate the ntlm version 1 "master" key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19423 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 21:22:09 +00:00
Love Hörnquist Åstrand
ba29865749 inital version of a NTLM library, only handles ntml version 1 and ascii strings for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-13 20:12:58 +00:00