Windows: add HCRYPTO_FALLBACK config to build system

HCRYPTO_FALLBACK is a required definition for building lib/hcrypto.
However, it wasn't added to the Windows build system.  This change
does so and enables fallback functionality.

Change-Id: I4a711c6da58e8832a61a3c0b2b8d9b10038425f0
This commit is contained in:
Jeffrey Altman
2016-04-23 19:00:16 -04:00
parent c751314501
commit a4dae2513f
2 changed files with 4 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ while(<>) {
if ("$(KRB5)") { print "#define KRB5 1\n"; }
if ("$(KRB4)") { print "#define KRB4 1\n"; }
if ("$(WEAK_CRYPTO)") { print "#define HEIM_WEAK_CRYPTO 1\n"; }
if ("$(HCRYPTO_FALLBACK)") { print "#define HCRYPTO_FALLBACK 1\n"; } else { print "#define HCRYPTO_FALLBACK 0\n"; }
if ("$(PKINIT)") { print "#define PKINIT 1\n"; }
if ("$(NO_AFS)") { print "#define NO_AFS 1\n"; }
if ("$(OPENLDAP)") { print "#define OPENLDAP 1\n"; }

View File

@@ -96,6 +96,9 @@ DIR_hdbdir=%{COMMON_APPDATA}/heimdal/hdb
# Disable weak crypto
WEAK_CRYPTO=0
# Enable hcrypt fallback mechanisms
HCRYPTO_FALLBACK=1
# Disable use of GSS LOCALNAME support
NO_LOCALNAME=1