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
aa43c10403
commit
fd7df34d47
@ -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