mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8249906: Enhance opening JARs
Reviewed-by: weijun, rhalade, mschoene
This commit is contained in:
parent
17a741d6bc
commit
7232e3c704
24 changed files with 766 additions and 502 deletions
|
@ -1558,7 +1558,7 @@ final class AbstractTrustManagerWrapper extends X509ExtendedTrustManager
|
|||
// A forward checker, need to check from trust to target
|
||||
if (checkedLength >= 0) {
|
||||
AlgorithmChecker checker =
|
||||
new AlgorithmChecker(constraints, null,
|
||||
new AlgorithmChecker(constraints,
|
||||
(checkClientTrusted ? Validator.VAR_TLS_CLIENT :
|
||||
Validator.VAR_TLS_SERVER));
|
||||
checker.init(false);
|
||||
|
|
|
@ -838,8 +838,7 @@ final class X509KeyManagerImpl extends X509ExtendedKeyManager
|
|||
AlgorithmConstraints constraints, Certificate[] chain,
|
||||
String variant) {
|
||||
|
||||
AlgorithmChecker checker =
|
||||
new AlgorithmChecker(constraints, null, variant);
|
||||
AlgorithmChecker checker = new AlgorithmChecker(constraints, variant);
|
||||
try {
|
||||
checker.init(false);
|
||||
} catch (CertPathValidatorException cpve) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue