patch-kdc_kdc-replay_c 562 B

123456789101112131415161718
  1. --- heimdal-1.4.orig/kdc/kdc-replay.c 2010-09-13 09:23:34.000000000 +0200
  2. +++ heimdal-1.4/kdc/kdc-replay.c 2011-01-12 14:08:08.048658301 +0100
  3. @@ -86,6 +86,7 @@ main(int argc, char **argv)
  4. if (ret)
  5. krb5_err(context, 1, ret, "krb5_kdc_set_dbinfo");
  6. +#ifdef PKINIT
  7. if (config->enable_pkinit) {
  8. if (config->pkinit_kdc_identity == NULL)
  9. krb5_errx(context, 1, "pkinit enabled but no identity");
  10. @@ -100,6 +101,7 @@ main(int argc, char **argv)
  11. config->pkinit_kdc_revoke);
  12. }
  13. +#endif
  14. if (argc != 2)
  15. errx(1, "argc != 2");