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
@@ -86,6 +86,7 @@ main(int argc, char **argv)
|
||||
if (ret)
|
||||
krb5_err(context, 1, ret, "krb5_kdc_set_dbinfo");
|
||||
|
||||
#ifdef PKINIT
|
||||
if (config->enable_pkinit) {
|
||||
if (config->pkinit_kdc_identity == NULL)
|
||||
krb5_errx(context, 1, "pkinit enabled but no identity");
|
||||
@@ -100,6 +101,7 @@ main(int argc, char **argv)
|
||||
config->pkinit_kdc_revoke);
|
||||
|
||||
}
|
||||
#endif /* PKINIT */
|
||||
|
||||
if (argc != 2)
|
||||
errx(1, "argc != 2");
|
||||
|
Reference in New Issue
Block a user