Skip to content

Commit bc3067d

Browse files
committed
CipherSuite probe now also catches configuration exceptions
1 parent 87680e1 commit bc3067d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/de/rub/nds/tlsscanner/probe/CiphersuiteProbe.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import de.rub.nds.tlsattacker.core.constants.NamedCurve;
1717
import de.rub.nds.tlsattacker.core.constants.ProtocolMessageType;
1818
import de.rub.nds.tlsattacker.core.constants.ProtocolVersion;
19+
import de.rub.nds.tlsattacker.core.exceptions.ConfigurationException;
1920
import de.rub.nds.tlsattacker.core.exceptions.WorkflowExecutionException;
2021
import de.rub.nds.tlsattacker.core.protocol.message.AlertMessage;
2122
import de.rub.nds.tlsattacker.core.state.State;
@@ -99,7 +100,7 @@ public List<CipherSuite> getSupportedCipherSuitesWithIntolerance(List<CipherSuit
99100
WorkflowExecutor workflowExecutor = WorkflowExecutorFactory.createWorkflowExecutor(WorkflowExecutorType.DEFAULT, state);
100101
try {
101102
workflowExecutor.executeWorkflow();
102-
} catch (WorkflowExecutionException ex) {
103+
} catch (ConfigurationException | WorkflowExecutionException ex) {
103104
LOGGER.warn("Encountered exception while executing WorkflowTrace!");
104105
LOGGER.debug(ex);
105106
supportsMore = false;

0 commit comments

Comments
 (0)