On Mon, 28 Mar 2022 09:29:58 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:
>> No, the digest field refers to the actual message digest algorithm (as known >> to the security libraries). The algorithm field holds the algorithm name as >> it is defined in RFC7616. > > I am confused here - because you converted `algorithm` to upper case, so it > should never end with `-sess`? Look at line 478: The `algorithm` field is reset here to be the upper case of the digest name plus the -sess suffix in lower case. ------------- PR: https://git.openjdk.java.net/jdk/pull/7688