Skip to content

Commit 5da0fe8

Browse files
committed
fix DTLS 1.2 cached ClientHello bug
1 parent f0e0242 commit 5da0fe8

File tree

1 file changed

+4
-0
lines changed
  • src/main/java/se/uu/it/dtlsfuzzer/components/sul/core

1 file changed

+4
-0
lines changed

src/main/java/se/uu/it/dtlsfuzzer/components/sul/core/TlsSul.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,10 @@ private void initializeTransportHandler() {
205205
// try again
206206
}
207207
}
208+
var firstClientHello = outputMapper.receiveOutput(context);
209+
if (!firstClientHello.getName().equals("CLIENT_HELLO")) {
210+
LOGGER.fatal("The first Client Hello should have been received");
211+
}
208212
}
209213
} catch (IOException e) {
210214
LOGGER.error("Could not initialize transport handler");

0 commit comments

Comments
 (0)