Jeffrey Altman
93518bfab4
use memset_s
...
lib roken includes support for memset_s() but it was not applied
to the Heimdal source tree.
Change-Id: I8362ec97a9be50205bb2d398e65b629b88ce1acd
2017-04-29 01:05:59 -04:00
Viktor Dukhovni
3657f23a9e
Fix more doxygen bitrot
2016-12-15 04:28:21 -05:00
Nicolas Williams
b4cf4de807
Fix warnings (clang 3.6)
2016-02-26 01:04:31 -06:00
Jeffrey Altman
3e2ca4be37
min instead of MIN
...
The MIN macro is not defined everywhere. use min().
Change-Id: I47413080364e215ad2a2075403b224867deba037
2014-02-04 23:20:13 -05:00
Love Hörnquist Åstrand
576f103203
try to use the right domain/hostname offset/ucs2 encoding
...
reported by Joe Mason
2013-11-17 17:43:47 +01:00
Love Hörnquist Åstrand
3af1b3a8a6
use constants
2013-11-17 17:03:10 +01:00
Love Hörnquist Åstrand
cde59c543d
bump libheimntlm to the version from OSX 10.9 Mavericks
2013-11-17 13:15:55 +01:00
Love Hornquist Astrand
0879b9831a
remove trailing whitespace
2011-05-21 11:57:31 -07:00
Love Hornquist Astrand
f5f9014c90
Warning fixes from Christos Zoulas
...
- shadowed variables
- signed/unsigned confusion
- const lossage
- incomplete structure initializations
- unused code
2011-04-29 20:25:05 -07:00
Asanka C. Herath
827058a8ff
Use min/max instead of MIN/MAX
2010-11-24 15:33:33 -05:00
Asanka C. Herath
0a123a5945
Avoid using potentially uninitialized variable
2010-11-24 15:33:32 -05:00
Love Hornquist Astrand
2514d45803
add basekey
2010-11-22 10:57:01 -08:00
Love Hornquist Astrand
2202e9b126
no info target heim_ntlm_calculate_lm2
2010-11-22 10:56:43 -08:00
Love Hornquist Astrand
9f1168b703
add targetinfo and comerr error codes
2010-10-19 18:15:40 -07:00
Asanka Herath
24cbddd4b9
Resolve warnings on Windows
...
Appease the compiler by resolving some of the reported warnings,
including:
- Control paths that don't return.
- Potentially uninitialized variables.
- Unused local variables.
- Unreachable code.
- Type safety.
- Synchronize declarations with definitions for functions.
2010-08-20 13:03:38 -04:00
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