Commit Graph

127 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
7aaba443bc add NTMakefile and windows directories 2011-07-17 12:16:59 -07: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
Asanka C. Herath
5e5a87555b Windows: Catch up with libheimntlm changes 2010-11-24 15:33:32 -05:00
Asanka C. Herath
29383b4cd0 Windows: Merge in application manifest when building assemblies 2010-11-24 15:33:17 -05:00
Asanka C. Herath
8432f850ed Windows: Make Heimdal a single assembly 2010-11-24 15:32:59 -05:00
Asanka C. Herath
6ee40622b1 Embed application manifest in Heimdal assembly .dlls 2010-11-24 15:32:24 -05:00
Asanka C. Herath
034cb905e9 Windows: Rename libheimntlm.dll to heimntlm.dll
For consistency with other .dlls shipped as assemblies.
2010-11-24 15:32:18 -05:00
Asanka C. Herath
f40fe926ad Windows: Comprehensive clean target 2010-11-24 15:32:13 -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
b1cfe43834 use right variable 2010-11-21 12:53:28 -08:00
Love Hornquist Astrand
aceab099f2 add ntlm_err.h 2010-10-30 22:18:34 -07:00
Love Hornquist Astrand
2a9d00dd91 add digest and apop support 2010-10-19 18:16:49 -07:00
Love Hornquist Astrand
9f1168b703 add targetinfo and comerr error codes 2010-10-19 18:15:40 -07:00
Asanka Herath
ba44354336 Windows: Check exported symbols
During a test run, cross check the Windows exports list against the
version-script files.  For the test to pass, all symbols on either
list should be accounted for.

If there are symbols that are specific to Windows or symbols that are
not included on Windows, they should be annotated in the .def file as
follows:

    ;!  non_windows_symbol

    	common_symbol

        windows_only_symbol ;!
2010-08-20 13:06:55 -04:00
Asanka Herath
cdcdc5cad5 Windows: Version information for binaries 2010-08-20 13:06:54 -04:00
Asanka Herath
d83611238a Windows: Build a single heimdal.dll
Heimdal.dll is a combination of libasn1, libwind, libhcrypto, libhx509
and libkrb5.
2010-08-20 13:06:54 -04:00
Asanka Herath
ea4d8dbfdb Windows: Use EXEPREP and DLLPREP macros for processing binaries
Once DLLs and EXEs are built, they need to have their manifests
processed and signed.  These steps are encapsulated in the EXEPREP and
DLLPREP Makefile macros.  Use them instead of invoking each processing
macro individually.
2010-08-20 13:04:06 -04: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
Love Hornquist Astrand
b6460f7364 document some mbz flags from wireshark 2009-12-05 16:45:29 -08:00
Love Hornquist Astrand
e347f1da95 fill in all bits for NTLM flags 2009-12-05 16:40:26 -08:00
Love Hornquist Astrand
c6bbdb545b First drop of Windows build infrastructure from Secure Endpoints 2009-11-24 12:12:53 -08:00
Asanka Herath
56afc4da1a Build libheimntlm as a .dll by default 2009-11-24 10:19:49 -08:00
Asanka Herath
b1063ea8fc Initial Windows port 2009-11-24 10:11:14 -08:00
Love Hornquist Astrand
d6a785f025 drop rcsid 2009-09-07 21:24:04 -07: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
95d188a9e4 drop libnheimntlm.la
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24467 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:48:48 +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
4bbaa52901 provide convenice lib
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23893 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-13 03:00:57 +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
78367bf366 drop krbv5 dependency
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23716 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-01 10:54:06 +00:00
Love Hörnquist Åstrand
a7ca391dc9 add missing depency on libhcrypto (needed when using openssl in on default location.
From Andrew Morris

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23689 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-26 12:35:21 +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
e63bbca392 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23334 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-12 20:17:10 +00:00
Love Hörnquist Åstrand
dc8e94beda x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-22 02:52:33 +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