Skip to content

Commit 1cad0a2

Browse files
authored
Merge pull request #75 from daMatz/master
Bleichenbacher: Add null check for errorType
2 parents 5339889 + 42dbae6 commit 1cad0a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Attacks/src/main/java/de/rub/nds/tlsattacker/attacks/impl/BleichenbacherAttacker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public State executeTlsFlow(BleichenbacherWorkflowType type, byte[] encryptedPMS
107107
@Override
108108
public Boolean isVulnerable() {
109109
errorType = getEqualityError();
110-
if (errorType != EqualityError.NONE) {
110+
if (errorType != null && errorType != EqualityError.NONE) {
111111
vulnerableType = config.getWorkflowType();
112112
return true;
113113
}

0 commit comments

Comments
 (0)