diff options
author | marino <marino@FreeBSD.org> | 2014-07-28 02:14:31 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-07-28 02:14:31 +0800 |
commit | d04f0f510fcfe37d58c4a0b483e91b7aa316c21f (patch) | |
tree | 12572761dcf594cd44563ded6646ca292909283c /security | |
parent | 49e07278e0f19c09c83647f1af2c370f191f5697 (diff) | |
download | freebsd-ports-gnome-d04f0f510fcfe37d58c4a0b483e91b7aa316c21f.tar.gz freebsd-ports-gnome-d04f0f510fcfe37d58c4a0b483e91b7aa316c21f.tar.zst freebsd-ports-gnome-d04f0f510fcfe37d58c4a0b483e91b7aa316c21f.zip |
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)
Diffstat (limited to 'security')
-rw-r--r-- | security/heimdal/Makefile | 2 | ||||
-rw-r--r-- | security/heimdal/files/patch-lib_gssapi_krb5_prf.c | 11 |
2 files changed, 12 insertions, 1 deletions
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) { |