summaryrefslogtreecommitdiff
path: root/security/heimdal-devel/files/patch-lib-krb5-krb5_locl.h
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2022-11-17 15:57:46 -0800
committerCy Schubert <cy@FreeBSD.org>2022-11-17 16:01:41 -0800
commit4e44a84dcc9abab445f7cd2dc37346338bfd9691 (patch)
treeeaf2d29a85838ec826dccc7c38f36a5e042da311 /security/heimdal-devel/files/patch-lib-krb5-krb5_locl.h
parentnews/inn: Remove com_err.h handling (diff)
security/heimdal-devel: New port tracking Heimdal develpment
This new heimdal port tracks the Heimdal development branch. The last security advisory showed us we might want to track its development.
Diffstat (limited to 'security/heimdal-devel/files/patch-lib-krb5-krb5_locl.h')
-rw-r--r--security/heimdal-devel/files/patch-lib-krb5-krb5_locl.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/security/heimdal-devel/files/patch-lib-krb5-krb5_locl.h b/security/heimdal-devel/files/patch-lib-krb5-krb5_locl.h
new file mode 100644
index 000000000000..7c1d29183477
--- /dev/null
+++ b/security/heimdal-devel/files/patch-lib-krb5-krb5_locl.h
@@ -0,0 +1,20 @@
+--- lib/krb5/krb5_locl.h.orig 2019-06-07 06:21:39 UTC
++++ lib/krb5/krb5_locl.h
+@@ -143,7 +143,7 @@ struct _krb5_krb_auth_data;
+ #include <krb5.h>
+ #include <krb5_err.h>
+ #include <asn1_err.h>
+-#ifdef PKINIT
++#if defined(PKINIT) || defined(KX509)
+ #include <hx509.h>
+ #endif
+
+@@ -271,7 +271,7 @@ typedef struct krb5_context_data {
+ #define KRB5_CTX_F_RD_REQ_IGNORE 16
+ #define KRB5_CTX_F_FCACHE_STRICT_CHECKING 32
+ struct send_to_kdc *send_to_kdc;
+-#ifdef PKINIT
++#if defined(PKINIT) || defined(KX509)
+ hx509_context hx509ctx;
+ #endif
+ unsigned int num_kdc_requests;