summaryrefslogtreecommitdiff
path: root/package/heimdal/patches/patch-kdc_kx509_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/heimdal/patches/patch-kdc_kx509_c')
-rw-r--r--package/heimdal/patches/patch-kdc_kx509_c18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/heimdal/patches/patch-kdc_kx509_c b/package/heimdal/patches/patch-kdc_kx509_c
new file mode 100644
index 000000000..d3518d651
--- /dev/null
+++ b/package/heimdal/patches/patch-kdc_kx509_c
@@ -0,0 +1,18 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- heimdal-1.2.1.orig/kdc/kx509.c 2008-07-28 14:04:51.000000000 +0200
++++ heimdal-1.2.1/kdc/kx509.c 2009-01-04 18:43:21.853211573 +0100
+@@ -32,6 +32,9 @@
+ */
+
+ #include "kdc_locl.h"
++
++#ifdef PKINIT
++
+ #include <hex.h>
+ #include <rfc2459_asn1.h>
+ #include <hx509.h>
+@@ -454,3 +457,4 @@ out:
+
+ return 0;
+ }
++#endif