[Heimdal-source-changes] [heimdal/heimdal] da38be: Fix krb5's gss_pseudo_random() (n is big-endian)

GitHub noreply at github.com
Ons Okt 30 20:29:58 CET 2013


  Branch: refs/heads/heimdal-1-5-branch
  Home:   https://github.com/heimdal/heimdal
  Commit: da38be62611d1e6f120f9e6e8e1fd11abd9760a3
      https://github.com/heimdal/heimdal/commit/da38be62611d1e6f120f9e6e8e1fd11abd9760a3
  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