fix line wrap and redundancy call JDK-8145252-TLS13-branch
authorxuelei
Fri, 01 Jun 2018 13:23:11 -0700
branchJDK-8145252-TLS13-branch
changeset 56657 c09b8b8c0017
parent 56656 2a396fdb3afb
child 56658 fe938437f7ba
fix line wrap and redundancy call
src/java.base/share/classes/sun/security/ssl/SSLEngineImpl.java
--- a/src/java.base/share/classes/sun/security/ssl/SSLEngineImpl.java	Fri Jun 01 15:37:07 2018 -0400
+++ b/src/java.base/share/classes/sun/security/ssl/SSLEngineImpl.java	Fri Jun 01 13:23:11 2018 -0700
@@ -529,7 +529,8 @@
         }
 
         if (srcsRemains == 0) {
-            return new SSLEngineResult(Status.BUFFER_UNDERFLOW, getHandshakeStatus(), 0, 0);
+            return new SSLEngineResult(
+                Status.BUFFER_UNDERFLOW, hsStatus, 0, 0);
         }
 
         /*