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 840e8e0 Fix an IDE nag
840e8e0 is described below
commit 840e8e0ca1f5473740eec0d7f962bf3fbc61f416
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Feb 25 15:02:30 2021 +0000
Fix an IDE nag
---
java/org/apache/tomcat/util/net/openssl/OpenSSLEngine.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/java/org/apache/tomcat/util/net/openssl/OpenSSLEngine.java
b/java/org/apache/tomcat/util/net/openssl/OpenSSLEngine.java
index 8577dbe..59c1d5f 100644
--- a/java/org/apache/tomcat/util/net/openssl/OpenSSLEngine.java
+++ b/java/org/apache/tomcat/util/net/openssl/OpenSSLEngine.java
@@ -963,7 +963,9 @@ public final class OpenSSLEngine extends SSLEngine
implements SSLUtil.ProtocolIn
* appropriately.
*/
private static void clearLastError() {
- while (SSL.getLastErrorNumber() != SSL.SSL_ERROR_NONE);
+ while (SSL.getLastErrorNumber() != SSL.SSL_ERROR_NONE) {
+ // Loop until getLastErrorNumber() returns SSL_ERROR_NONE
+ }
}
private SSLEngineResult.Status getEngineStatus() {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]