Fix SSLEngineTest handshake method.
Motivation: We used && in the handshake method of SSLEngineTest but it must be ||. Modifications: Changed && to || Result: Correctly check condition
This commit is contained in:
parent
a6fd8a96bf
commit
d4a1665941
@ -397,7 +397,7 @@ public abstract class SSLEngineTest {
|
||||
runDelegatedTasks(serverResult, serverEngine);
|
||||
cTOs.compact();
|
||||
sTOc.compact();
|
||||
} while (isHandshaking(clientResult) && isHandshaking(serverResult));
|
||||
} while (isHandshaking(clientResult) || isHandshaking(serverResult));
|
||||
}
|
||||
|
||||
private static boolean isHandshaking(SSLEngineResult result) {
|
||||
|
Loading…
Reference in New Issue
Block a user