Add comment to explain an HKDF optimization in SSLSecretDerivation

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 18
    • Affects Version/s: None
    • Component/s: security-libs
    • None

      While reading this code, it wasn't clear why this optimization was here. Add a couple lines for the next reader.

          private static final byte[] sha256EmptyDigest = new byte[] {
          ...deleted...
          private static final byte[] sha384EmptyDigest = new byte[] {
          ...deleted...

            Assignee:
            Bradford Wetmore
            Reporter:
            Bradford Wetmore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: