From d04f0f510fcfe37d58c4a0b483e91b7aa316c21f Mon Sep 17 00:00:00 2001 From: marino Date: Sun, 27 Jul 2014 18:14:31 +0000 Subject: security/heimdal: Establish consistency for seed data with base heimdal This patch enables heimdal port and heimdal bad to be consistent [in byte order for seed data] and talk nicely to each other. Please refer to FreeBSD Errata Notice FreeBSD-EN-14:08.heimdal. This port is not unmaintained. PR: 191356 Submitted by: dewayne (heuristicsystems.com.au) --- security/heimdal/Makefile | 2 +- security/heimdal/files/patch-lib_gssapi_krb5_prf.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 security/heimdal/files/patch-lib_gssapi_krb5_prf.c (limited to 'security') diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile index 15d595aa9501..609858b89623 100644 --- a/security/heimdal/Makefile +++ b/security/heimdal/Makefile @@ -3,7 +3,7 @@ PORTNAME= heimdal PORTVERSION= 1.5.2 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= security ipv6 MASTER_SITES= http://www.h5l.org/dist/src/ \ http://ftp.pdc.kth.se/pub/heimdal/src/ \ diff --git a/security/heimdal/files/patch-lib_gssapi_krb5_prf.c b/security/heimdal/files/patch-lib_gssapi_krb5_prf.c new file mode 100644 index 000000000000..57ddf5cb7d50 --- /dev/null +++ b/security/heimdal/files/patch-lib_gssapi_krb5_prf.c @@ -0,0 +1,11 @@ +--- lib/gssapi/krb5/prf.c.orig 2012-01-10 21:53:51.000000000 +0000 ++++ lib/gssapi/krb5/prf.c +@@ -119,7 +119,7 @@ _gsskrb5_pseudo_random(OM_uint32 *minor_ + while(dol > 0) { + size_t tsize; + +- _gsskrb5_encode_om_uint32(num, input.data); ++ _gsskrb5_encode_be_om_uint32(num, input.data); + + ret = krb5_crypto_prf(context, crypto, &input, &output); + if (ret) { -- cgit