fixup pkinit-ec.c (kdc and lib/krb5) includes

All source files must start with

  include <config.h>
  include <roken.h>

when krb5_locl.h or kdc_locl.h are includes, they must come before
other Heimdal include files.

Do not include stdint.h when roken.h is included.
Do not include config.h more than once.

Change-Id: I0baecb5d48317996f48b1a6c41b051f42f2fde61
This commit is contained in:
Jeffrey Altman
2016-04-17 17:10:08 -05:00
parent 87d56ef018
commit ce4fd05b12
2 changed files with 3 additions and 11 deletions

View File

@@ -34,6 +34,7 @@
*/
#include <config.h>
#include <roken.h>
#ifdef PKINIT
@@ -58,16 +59,10 @@
#define HEIM_NO_CRYPTO_HDRS
#endif /* HAVE_HCRYPTO_W_OPENSSL */
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#define NO_HCRYPTO_POLLUTION
#include <hcrypto/des.h>
#include "kdc_locl.h"
#include <hcrypto/des.h>
#include <heim_asn1.h>
#include <rfc2459_asn1.h>
#include <cms_asn1.h>