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

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


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