at some point asn1 header generation lost its trailing newline on
asn1_%s_units prototypes. put it back for neatness.
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
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>
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.
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.
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.
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.
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.