This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new d655d15012 Remove duplication
d655d15012 is described below
commit d655d150125bdef18caf88a8a0052b50e55c5cc9
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Jan 13 10:29:01 2026 +0000
Remove duplication
---
test/org/apache/tomcat/util/net/ocsp/TestOcspIntegration.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/org/apache/tomcat/util/net/ocsp/TestOcspIntegration.java
b/test/org/apache/tomcat/util/net/ocsp/TestOcspIntegration.java
index acd6b4b07d..d4d6eebab1 100644
--- a/test/org/apache/tomcat/util/net/ocsp/TestOcspIntegration.java
+++ b/test/org/apache/tomcat/util/net/ocsp/TestOcspIntegration.java
@@ -297,8 +297,8 @@ public class TestOcspIntegration extends TomcatBaseTest {
context.addServletMappingDecoded("/", "simple");
KeyStore trustStore = KeyStore.getInstance(KEYSTORE_TYPE);
- String trustStorePass = new String(Files.readAllBytes(new
File(getPath(TRUSTSTORE_PASS)).toPath())).trim();
- trustStore.load(Files.newInputStream(Paths.get(new
File(getPath(TRUSTSTORE_PATH)).getAbsolutePath())),
trustStorePass.toCharArray());
+ trustStore.load(Files.newInputStream(Paths.get(new
File(getPath(TRUSTSTORE_PATH)).getAbsolutePath())),
+ truststorePass.toCharArray());
KeyStore clientKeystore = KeyStore.getInstance(KEYSTORE_TYPE);
String clientKeystorePass = new String(Files.readAllBytes(new
File(getPath(CLIENT_KEYSTORE_PASS)).toPath())).trim();
clientKeystore.load(Files.newInputStream(Paths.get(new
File(getPath(CLIENT_KEYSTORE_PATH)).getAbsolutePath())),
clientKeystorePass.toCharArray());
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]