Skip to content

Commit c78b661

Browse files
committed
KeySetGenerator now warns when NONE is selected as a KeySetTypeFixed KeySetGeneratorTest for TLS 1.3 CipherSuites
1 parent af63546 commit c78b661

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

TLS-Core/src/test/java/de/rub/nds/tlsattacker/core/record/cipher/KeySetGeneratorTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public void setUp() {
3939
* be generated without throwing an exception
4040
*/
4141
@Test
42-
@Category(IntegrationTests.class)
42+
// @Category(IntegrationTests.class)
4343
public void testGenerateKeySet() {
4444
for (CipherSuite suite : CipherSuite.getImplemented()) {
4545
for (ProtocolVersion version : ProtocolVersion.values()) {
@@ -51,8 +51,6 @@ public void testGenerateKeySet() {
5151
continue;
5252
}
5353
TlsContext context = new TlsContext();
54-
context.setActiveClientKeySetType(Tls13KeySetType.HANDSHAKE_TRAFFIC_SECRETS);
55-
context.setActiveServerKeySetType(Tls13KeySetType.HANDSHAKE_TRAFFIC_SECRETS);
5654
context.setSelectedCipherSuite(suite);
5755
context.setSelectedProtocolVersion(version);
5856
assertNotNull(KeySetGenerator.generateKeySet(context));

0 commit comments

Comments
 (0)