8373408: SHA1withECDSA is not required for ECDHE and ECDSA

Reviewed-by: djelinski, ascarpino
This commit is contained in:
Hai-May Chao 2026-01-22 17:41:00 +00:00
parent 5dfda66e13
commit 96a2649e29

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2001, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 2026, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -165,7 +165,6 @@ final class JsseJce {
static {
boolean mediator = true;
try {
Signature.getInstance(SIGNATURE_ECDSA);
Signature.getInstance(SIGNATURE_RAWECDSA);
KeyAgreement.getInstance("ECDH");
KeyFactory.getInstance("EC");