Skip to content

Commit 5a3a46c

Browse files
committed
Updated ModifiableVariable Version
1 parent 2d00998 commit 5a3a46c

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

TLS-Core/src/main/java/de/rub/nds/tlsattacker/core/workflow/WorkflowTraceSerializer.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import de.rub.nds.modifiablevariable.ModifiableVariable;
1212
import de.rub.nds.modifiablevariable.ModificationFilter;
1313
import de.rub.nds.modifiablevariable.VariableModification;
14+
import de.rub.nds.modifiablevariable.util.XMLPrettyPrinter;
1415
import de.rub.nds.tlsattacker.core.protocol.message.ProtocolMessage;
1516
import de.rub.nds.tlsattacker.core.protocol.message.extension.ExtensionMessage;
1617
import de.rub.nds.tlsattacker.core.workflow.action.ReceiveAction;
@@ -26,15 +27,22 @@
2627
import java.io.OutputStream;
2728
import java.util.ArrayList;
2829
import java.util.List;
30+
import java.util.logging.Level;
31+
import javax.imageio.IIOException;
2932
import javax.xml.bind.JAXBContext;
3033
import javax.xml.bind.JAXBException;
3134
import javax.xml.bind.Marshaller;
3235
import javax.xml.bind.Unmarshaller;
36+
import javax.xml.parsers.ParserConfigurationException;
3337
import javax.xml.stream.XMLInputFactory;
3438
import javax.xml.stream.XMLStreamException;
3539
import javax.xml.stream.XMLStreamReader;
40+
import javax.xml.transform.TransformerException;
41+
import javax.xml.xpath.XPathExpressionException;
42+
import javax.xml.xpath.XPathFactoryConfigurationException;
3643
import org.apache.logging.log4j.LogManager;
3744
import org.apache.logging.log4j.Logger;
45+
import org.xml.sax.SAXException;
3846

3947
public class WorkflowTraceSerializer {
4048

@@ -107,7 +115,6 @@ public static void write(OutputStream outputStream, WorkflowTrace workflowTrace)
107115
context = getJAXBContext();
108116
Marshaller m = context.createMarshaller();
109117
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
110-
111118
m.marshal(workflowTrace, outputStream);
112119
outputStream.close();
113120
}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
<dependency>
136136
<groupId>de.rub.nds</groupId>
137137
<artifactId>ModifiableVariable</artifactId>
138-
<version>2.2</version>
138+
<version>2.3</version>
139139
</dependency>
140140
<dependency>
141141
<groupId>org.reflections</groupId>

0 commit comments

Comments
 (0)