diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2020-03-13 17:12:29 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2020-03-13 17:12:29 +0000 |
commit | a7aadbeb889e852cd5b0975331292b413a07e9b5 (patch) | |
tree | 1347682ee9bc237a2b116f8016b6380af597576d /security/heimdal/files/patch-lib-krb5-krb5_locl.h | |
parent | update to 0.4.5 (fix build on 13.0-CURRENT) (diff) |
Fix build breakage when PKINIT and/or KX509 disabled.
PR: 244751
Notes
Notes:
svn path=/head/; revision=528365
Diffstat (limited to 'security/heimdal/files/patch-lib-krb5-krb5_locl.h')
-rw-r--r-- | security/heimdal/files/patch-lib-krb5-krb5_locl.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/security/heimdal/files/patch-lib-krb5-krb5_locl.h b/security/heimdal/files/patch-lib-krb5-krb5_locl.h new file mode 100644 index 000000000000..334316489e74 --- /dev/null +++ b/security/heimdal/files/patch-lib-krb5-krb5_locl.h @@ -0,0 +1,20 @@ +--- lib/krb5/krb5_locl.h.orig 2020-03-13 06:00:08.405783000 +0900 ++++ lib/krb5/krb5_locl.h 2020-03-13 13:19:46.263840000 +0900 +@@ -143,7 +143,7 @@ + #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 @@ + #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; |