On Fri, 25 Mar 2022 17:21:11 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:

>> Michael McMahon has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   forgot update to DigestAuth test
>
> src/java.base/share/classes/sun/net/www/protocol/http/DigestAuthentication.java
>  line 524:
> 
>> 522:         }
>> 523: 
>> 524:         boolean session = algorithm.endsWith ("-sess");
> 
> should that be `digest.endsWith("-sess");` ?

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  RFC71616.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7688

Reply via email to