This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push: new a638ef0 Fix logic error for certificateKeystoreFile="NONE" a638ef0 is described below commit a638ef037a6dd0d6e565af6ab0a7280a545b3c67 Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Aug 6 10:55:57 2021 +0200 Fix logic error for certificateKeystoreFile="NONE" --- java/org/apache/tomcat/util/net/SSLUtilBase.java | 4 ++-- webapps/docs/changelog.xml | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/java/org/apache/tomcat/util/net/SSLUtilBase.java b/java/org/apache/tomcat/util/net/SSLUtilBase.java index de9ba71..15c1846 100644 --- a/java/org/apache/tomcat/util/net/SSLUtilBase.java +++ b/java/org/apache/tomcat/util/net/SSLUtilBase.java @@ -191,8 +191,8 @@ public abstract class SSLUtilBase implements SSLUtil { // Some key store types (e.g. hardware) expect the InputStream // to be null if(!("PKCS11".equalsIgnoreCase(type) || - path.isEmpty()) || - "NONE".equalsIgnoreCase(path)) { + path.isEmpty() || + "NONE".equalsIgnoreCase(path))) { istream = ConfigFileLoader.getInputStream(path); } diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index bea726a..167c802 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -105,6 +105,16 @@ issues do not "pop up" wrt. others). --> <section name="Tomcat 8.5.71 (schultz)" rtext="in development"> + <subsection name="Coyote"> + <changelog> + <fix> + Correct a logic error that meant setting + <code>certificateKeystoreFile</code> to <code>NONE</code> did not have + the expected effect. <code>NONE</code> was incorrectly treated as a file + path. Patch provided by Mikael Sterner. (markt) + </fix> + </changelog> + </subsection> </section> <section name="Tomcat 8.5.70 (schultz)" rtext="release in progress"> <subsection name="Catalina"> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org