[Heimdal-source-changes] [heimdal/heimdal] 7d4590: Fix krb5's gss_pseudo_random() (n is big-endian)
GitHub
noreply at github.com
Ons Okt 30 20:28:30 CET 2013
Branch: refs/heads/master
Home: https://github.com/heimdal/heimdal
Commit: 7d459095377eff93b0e0bc1a96e1a4e9ecd817a1
https://github.com/heimdal/heimdal/commit/7d459095377eff93b0e0bc1a96e1a4e9ecd817a1
Author: Nicolas Williams <nico at cryptonector.com>
Date: 2013-10-30 (Wed, 30 Oct 2013)
Changed paths:
M lib/gssapi/krb5/prf.c
Log Message:
-----------
Fix krb5's gss_pseudo_random() (n is big-endian)
The first enctype RFC3961 prf output length's bytes are correct because
the little- and big-endian representations of unsigned zero are the
same. The second block of output was wrong because the counter was not
being encoded as big-endian.
This change could break applications. But those applications would not
have been interoperating with other implementations anyways (in
particular: MIT's).
More information about the Heimdal-source-changes
mailing list