Make build w/o PKINIT
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:

committed by
Love Hornquist Astrand

parent
4154bb82ce
commit
03dfe132d0
@@ -333,6 +333,7 @@ configure(krb5_context context, int argc, char **argv)
|
||||
|
||||
krb5_kdc_windc_init(context);
|
||||
|
||||
#ifdef PKINIT
|
||||
#ifdef __APPLE__
|
||||
config->enable_pkinit = 1;
|
||||
|
||||
@@ -345,7 +346,7 @@ configure(krb5_context context, int argc, char **argv)
|
||||
if (config->pkinit_kdc_anchors == NULL)
|
||||
config->pkinit_kdc_anchors = strdup("KEYCHAIN:");
|
||||
|
||||
#endif
|
||||
#endif /* __APPLE__ */
|
||||
|
||||
if (config->enable_pkinit) {
|
||||
if (config->pkinit_kdc_identity == NULL)
|
||||
@@ -361,6 +362,8 @@ configure(krb5_context context, int argc, char **argv)
|
||||
config->pkinit_kdc_revoke);
|
||||
|
||||
}
|
||||
|
||||
#endif /* PKINIT */
|
||||
|
||||
return config;
|
||||
}
|
||||
|
Reference in New Issue
Block a user