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:
@@ -61,6 +61,7 @@ while(<>) {
|
|||||||
if ("$(KRB5)") { print "#define KRB5 1\n"; }
|
if ("$(KRB5)") { print "#define KRB5 1\n"; }
|
||||||
if ("$(KRB4)") { print "#define KRB4 1\n"; }
|
if ("$(KRB4)") { print "#define KRB4 1\n"; }
|
||||||
if ("$(WEAK_CRYPTO)") { print "#define HEIM_WEAK_CRYPTO 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 ("$(PKINIT)") { print "#define PKINIT 1\n"; }
|
||||||
if ("$(NO_AFS)") { print "#define NO_AFS 1\n"; }
|
if ("$(NO_AFS)") { print "#define NO_AFS 1\n"; }
|
||||||
if ("$(OPENLDAP)") { print "#define OPENLDAP 1\n"; }
|
if ("$(OPENLDAP)") { print "#define OPENLDAP 1\n"; }
|
||||||
|
@@ -96,6 +96,9 @@ DIR_hdbdir=%{COMMON_APPDATA}/heimdal/hdb
|
|||||||
# Disable weak crypto
|
# Disable weak crypto
|
||||||
WEAK_CRYPTO=0
|
WEAK_CRYPTO=0
|
||||||
|
|
||||||
|
# Enable hcrypt fallback mechanisms
|
||||||
|
HCRYPTO_FALLBACK=1
|
||||||
|
|
||||||
# Disable use of GSS LOCALNAME support
|
# Disable use of GSS LOCALNAME support
|
||||||
NO_LOCALNAME=1
|
NO_LOCALNAME=1
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user