Looks fine to me.
Thanks,
Xuelei
On 8/17/2020 5:11 PM, Rajan Halade wrote:
Please review this patch to perform backdated certpath check as test
certificate has expired.
/diff -r cb8450f00ee9
test/jdk/sun/security/validator/PKIXValAndRevCheckTests.java/
/--- a/test/jdk/sun/security/validator/PKIXValAndRevCheckTests.javaTue
Aug 18 01:08:18 2020 +0200/
/+++ b/test/jdk/sun/security/validator/PKIXValAndRevCheckTests.javaMon
Aug 17 17:09:47 2020 -0700/
/@@ -1,5 +1,5 @@/
/ /*/
/- * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved./
/*+ * Copyright (c) 2019, 2020, 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/
/@@ -374,6 +374,7 @@/
/ // Test 1: Path validation with revocation explicitly turned/
/ // off, expected to pass./
/ pkixParams = new PKIXBuilderParameters(trustAnchors, null);/
/*+ pkixParams.setDate(VALID_DATE);*/
/ pkixParams.setRevocationEnabled(false);/
/ validatePath(goodPath, Collections.emptyList(), pkixParams,
null);/
Thanks,
Rajan