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)
This commit is contained in:
John Marino 2014-07-27 18:14:31 +00:00
parent d7ab3d4063
commit 2d4e3a41d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363088
2 changed files with 12 additions and 1 deletions

View file

@ -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/ \

View file

@ -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) {