mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8217835: Remove the experimental SunJSSE FIPS compliant mode
Reviewed-by: mullan
This commit is contained in:
parent
5d0ff15a58
commit
fca0af0487
46 changed files with 364 additions and 2350 deletions
|
@ -765,7 +765,7 @@ final class PreSharedKeyExtension {
|
|||
String hmacAlg =
|
||||
"Hmac" + hashAlg.name.replace("-", "");
|
||||
try {
|
||||
Mac hmac = JsseJce.getMac(hmacAlg);
|
||||
Mac hmac = Mac.getInstance(hmacAlg);
|
||||
hmac.init(finishedKey);
|
||||
return hmac.doFinal(digest);
|
||||
} catch (NoSuchAlgorithmException | InvalidKeyException ex) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue