patch-kdc_process_c 960 B

1234567891011121314151617181920212223242526
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- heimdal-1.2.1.orig/kdc/process.c 2008-07-28 14:04:51.000000000 +0200
  3. +++ heimdal-1.2.1/kdc/process.c 2009-01-04 19:04:06.899022107 +0100
  4. @@ -68,7 +68,9 @@ krb5_kdc_process_request(krb5_context co
  5. KDC_REQ req;
  6. Ticket ticket;
  7. DigestREQ digestreq;
  8. +#ifdef PKINIT
  9. Kx509Request kx509req;
  10. +#endif
  11. krb5_error_code ret;
  12. size_t i;
  13. @@ -94,10 +96,12 @@ krb5_kdc_process_request(krb5_context co
  14. ret = _kdc_do_digest(context, config, &digestreq, reply, from, addr);
  15. free_DigestREQ(&digestreq);
  16. return ret;
  17. +#ifdef PKINIT
  18. } else if (_kdc_try_kx509_request(buf, len, &kx509req, &i) == 0) {
  19. ret = _kdc_do_kx509(context, config, &kx509req, reply, from, addr);
  20. free_Kx509Request(&kx509req);
  21. return ret;
  22. +#endif
  23. } else if(_kdc_maybe_version4(buf, len)){
  24. *prependlength = FALSE; /* elbitapmoc sdrawkcab XXX */
  25. _kdc_do_version4(context, config, buf, len, reply, from,