Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-6685

SHA1PRNG produces less optimal results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 6.0M3
    • 6.0M4, 5.0M16
    • Classlib
    • None
    • Patch Available
    • Novice

    Description

      It seems that a pair of parentheses are missing to get the correct operator precedence. I just stumbled upon this bug because SHA1PRNG produces different results on Android and on my Windows machine even though both use Apache Harmony for this part.

      Attachments

        1. harmony-sha1prng-bug.patch
          0.8 kB
          Mark Junker

        Activity

          People

            hindessm Mark Hindess
            fubar-coder Mark Junker
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: