Commit Graph

29543 Commits

Author SHA1 Message Date
Love Hornquist Astrand 3ba4f32d8d Expand on what enterprise names are 2010-08-28 13:01:45 -07:00
Guillaume Rousse 792db1ca13 document --enterprise option, as in --help output
Signed-off-by: Guillaume Rousse <Guillaume.Rousse@inria.fr>
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-08-28 10:57:12 -07:00
Love Hornquist Astrand 4f5390877a plug memory leaks 2010-08-23 22:02:10 -07:00
Simon Wilkinson bbc9176868 hcrypto: Don't use 'u' as a variable name
Some kernels #define u as a pointer to the current user structure.
This causes problems when trying to use hcrypto's hash routines in
those kernels, as they try to use 'u' as a variable name for a
structure pointer. Change this variable name to avoid the conflict.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-08-23 21:21:14 -07:00
Love Hornquist Astrand bd91f174b9 Changes from Asanka Herath of Secure Endpoint for additional Microsoft Windows support 2010-08-20 19:45:14 -07:00
Love Hornquist Astrand c166adf010 ignore doxyout 2010-08-20 19:39:20 -07:00
Asanka Herath 00e84dac77 Windows: Specify target machine architecture in link step 2010-08-20 16:59:36 -04:00
Asanka Herath 069d9a8afc Windows: New exports for comerr64.dll shim library 2010-08-20 16:59:12 -04:00
Asanka Herath dc638df0ff Windows: Fix gssapi{32,64} shim library 2010-08-20 16:58:45 -04:00
Asanka Herath 6304b4d2ef Windows: Missing clean targets shouldn't be fatal 2010-08-20 16:57:46 -04:00
Asanka Herath 92bdd469bc Windows: heimdal.dll depends on LIBLTM instead of LIBTFM 2010-08-20 16:57:21 -04:00
Asanka Herath 8e8cf3814f Use <errno.h> instead of <sys/errno.h> in hcrypto/common.c 2010-08-20 16:56:46 -04:00
Asanka Herath 8b378cec73 Windows: Revised exports for libgssapi 2010-08-20 16:56:20 -04:00
Asanka Herath 4b1fbabe68 Windows: Fix build rules and includes for libtommath 2010-08-20 16:55:53 -04:00
Asanka Herath 93c08e67f0 Windows: Add missing dependency 2010-08-20 16:55:15 -04:00
Asanka Herath fd3d2ccd0d Windows: Build with USE_HCRYPTO_IMATH 2010-08-20 16:53:57 -04:00
Asanka Herath 1a4ffdca13 Windows: Add missing dependency 2010-08-20 16:53:26 -04:00
Asanka Herath 38f3c4d20a Windows: Note that the .def files are generated 2010-08-20 16:52:46 -04:00
Asanka Herath e9e33710ce Windows: No separate assembly directory 2010-08-20 13:14:19 -04:00
Asanka Herath f56c77103d Windows: Change when assemblies and shims are built
The assemblies should be built when the lib directory is build because
the generated application manifest should be used with all the tools
and executables that use the libraries.
2010-08-20 13:14:19 -04:00
Asanka Herath fbf3864422 Windows: Script for generating exports lists for shim layer
This script analyzes the export lists for MIT Kerberos for Windows,
export lists for Heimdal DLLs and the symbol lists from the shim code
and generates the appropriate export definition (.DEF) files.

.DEF files that are generated are committed to the source tree because
otherwise having MIT KfW DLLs around would be a build requirement.  If
there is any change to the shim code, the export .DEF files should be
rebuilt using:

  nmake /f NTMakefile DEV=1 gen-defs

.. from the packages/windows/kfw_shim directory.  The new .DEF files
should then be commited.
2010-08-20 13:14:18 -04:00
Asanka Herath 8793628306 Windows: Shim library for ABI compatibility with MIT KfW
The shim code creates DLLs that intend to be ABI compatible with MIT
Kerberos for Windows DLLs.  At its current state, the shim isn't
complete and there are multiple functions that are missing.
2010-08-20 13:14:17 -04:00
Asanka Herath c111770aed Windows: Use pushd and popd for recursive builds
This makes it possible to recurse into arbitrary directories instead
of just subdirectories.
2010-08-20 13:14:17 -04:00
Asanka Herath 7843607a49 Windows: Use 32-bit time_t on 32-bit builds 2010-08-20 13:14:16 -04:00
Asanka Herath 0f214582d5 Windows: Fix manifest attribute case 2010-08-20 13:14:16 -04:00
Asanka Herath 63597ca3fc Windows: Make application manifest available everywhere 2010-08-20 13:14:15 -04:00
Asanka Herath 08b297b785 Windows: Rename libgssapi.dll -> gssapi.dll 2010-08-20 13:14:15 -04:00
Asanka Herath f88854effa Windows: Correct calling convention for krb5_free_unparsed_name() 2010-08-20 13:14:14 -04:00
Asanka Herath 225e142ac5 Windows: Use correct calling convention for com_err 2010-08-20 13:14:13 -04:00
Asanka Herath 4ea2e07b21 Windows: Build and validate manifests
Fix manifests to include manifestVersion attribute and introduce an
application manifest.  The application manifest will be included in
the eventual SDK so that applications that depend on Heimdal can
correctly reference the Heimdal assemblies.
2010-08-20 13:14:13 -04:00
Asanka Herath 0730c0b98f Windows: ASN1_LIB needs to be defined for Heimdal library 2010-08-20 13:14:12 -04:00
Asanka Herath 8d40619564 Windows: Add krb5_cc_copy_creds to the exports list 2010-08-20 13:14:12 -04:00
Asanka Herath d98fd799c3 GSSAPI_DEPRECATED needs to be before the return type 2010-08-20 13:14:11 -04:00
Asanka Herath 3d83131be8 Export and calling convention annotation for lib/asn1 2010-08-20 13:14:10 -04:00
Asanka Herath 5dcc605f6b Fix calling conventions for Windows 2010-08-20 13:14:10 -04:00
Asanka Herath 12638c01a9 Windows: Build shared side-by-side assemblies for Heimdal 2010-08-20 13:10:50 -04:00
Asanka Herath b3b43ff9cf Windows: Update version and copyright 2010-08-20 13:09:52 -04:00
Asanka Herath 2a2a662eca roken/parse_time-test.c: Don't pass in incorrect buffer size 2010-08-20 13:09:51 -04:00
Asanka Herath aee2a6443d roken/test-mini_inetd.c: Use of rk_SOCK_INIT() etc. 2010-08-20 13:09:51 -04:00
Asanka Herath 745d9bcae7 Windows: Pull required declarations into roken.h.in 2010-08-20 13:09:50 -04:00
Asanka Herath 31b2dc9c48 roken/mini_inetd.c: Don't check against FD_SETSIZE unless necessary 2010-08-20 13:09:50 -04:00
Asanka Herath 63e3aedf8c Windows: Fix lib/hcrypto tests 2010-08-20 13:09:49 -04:00
Asanka Herath 481fe5bcf6 Windows: lib/roken tests now depend on DNSAPI 2010-08-20 13:09:48 -04:00
Asanka Herath e3ce1ff01b lib/wind/test-normalize.c: Dump failing vectors
If a Unicode string fails a normalization test, dump it so we can
figure out why its failing.
2010-08-20 13:09:48 -04:00
Asanka Herath 2730cfc919 lib/hcrypto/test_*: Use "rb" when opening binary files 2010-08-20 13:09:47 -04:00
Asanka Herath e88a1d83c6 test_crypto.in: Also test w32crypto 2010-08-20 13:09:47 -04:00
Asanka Herath eafb187cd0 Declare RAND_w32crypto_method() 2010-08-20 13:09:46 -04:00
Asanka Herath 9b466f35fb Windows: RAND_file_name() should look up profile path
If RANDFILE and HOME environment variables aren't defined, failover to
looking up the user's profile path.  In particular, default to a file
named .rnd in the user's local (non-roamin) application data
directory.
2010-08-20 13:09:45 -04:00
Asanka Herath 12909ec109 lib/wind: Canonical ordering can't use unstable sort 2010-08-20 13:09:45 -04:00
Asanka Herath 7af1f40258 hcrypto/test_rand.c: Add w32crypto method
Also make it non-fatal to request a method that is unsupported.  This
makes it possible to only test methods that we are compiling.
2010-08-20 13:09:44 -04:00