[phobos] [D-Programming-Language/phobos] 81244a: Fix endian-dependent unit test.

GitHub noreply at github.com
Sat Apr 13 10:19:28 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 81244a242d15ff01727afdf62b43c9b64723b364
      https://github.com/D-Programming-Language/phobos/commit/81244a242d15ff01727afdf62b43c9b64723b364
  Author: kai <kai at redstar.de>
  Date:   2013-04-13 (Sat, 13 Apr 2013)

  Changed paths:
    M std/digest/sha.d
    M std/md5.d

  Log Message:
  -----------
  Fix endian-dependent unit test.

The input to the digest tests is not endian-neutral. This is now
considered. The big endian values were derived by writing the data
into a file and running md5sum and sha1sum with the file as input.


  Commit: 4e2f86dca993e9703cece69c8228ecbe184f5cb4
      https://github.com/D-Programming-Language/phobos/commit/4e2f86dca993e9703cece69c8228ecbe184f5cb4
  Author: Alex Rønne Petersen <alex at alexrp.com>
  Date:   2013-04-13 (Sat, 13 Apr 2013)

  Changed paths:
    M std/digest/sha.d
    M std/md5.d

  Log Message:
  -----------
  Merge pull request #1257 from redstar/digestunittest

Fix endian-dependent unit test.


Compare: https://github.com/D-Programming-Language/phobos/compare/0cf38786a751...4e2f86dca993


More information about the phobos mailing list