Skip to content

Commit

Permalink
Merge origin/master into docker_it_remove
Browse files Browse the repository at this point in the history
Conflicts:
	TLS-Mitm/src/test/resources/mitm_stdout_help.txt
  • Loading branch information
ic0ns committed Apr 10, 2018
2 parents 834418c + a6676c0 commit 4ec7fce
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 111 deletions.
Expand Up @@ -96,8 +96,10 @@ public WorkflowTrace createWorkflowTrace(WorkflowTraceType type, RunningModeType
return createShortHelloWorkflow();
case SSL2_HELLO:
return createSsl2HelloWorkflow();
case CLIENT_RENEGOTIATION:
case CLIENT_RENEGOTIATION_WITHOUT_RESUMPTION:
return createClientRenegotiationWorkflow();
case CLIENT_RENEGOTIATION:
return createClientRenegotiationWithResumptionWorkflow();
case SERVER_RENEGOTIATION:
return createServerRenegotiationWorkflow();
case HTTPS:
Expand Down Expand Up @@ -391,6 +393,17 @@ private WorkflowTrace createResumptionWorkflow() {
return trace;
}

private WorkflowTrace createClientRenegotiationWithResumptionWorkflow() {
AliasedConnection conEnd = getConnection();
WorkflowTrace trace = createHandshakeWorkflow(conEnd);
trace.addTlsAction(new RenegotiationAction());
WorkflowTrace renegotiationTrace = createResumptionWorkflow();
for (TlsAction reneAction : renegotiationTrace.getTlsActions()) {
trace.addTlsAction(reneAction);
}
return trace;
}

private WorkflowTrace createClientRenegotiationWorkflow() {
AliasedConnection conEnd = getConnection();
WorkflowTrace trace = createHandshakeWorkflow(conEnd);
Expand Down
Expand Up @@ -15,6 +15,7 @@ public enum WorkflowTraceType {
SHORT_HELLO,
RESUMPTION,
FULL_RESUMPTION,
CLIENT_RENEGOTIATION_WITHOUT_RESUMPTION,
CLIENT_RENEGOTIATION,
SERVER_RENEGOTIATION,
HTTPS,
Expand Down

This file was deleted.

69 changes: 0 additions & 69 deletions TLS-Mitm/src/test/resources/mitm_stdout_help.txt

This file was deleted.

0 comments on commit 4ec7fce

Please sign in to comment.