Skip to content

Commit 4893556

Browse files
committed
Fixed possible np during dtls scans
1 parent 4b2b1e3 commit 4893556

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

TLS-Server-Scanner/src/main/java/de/rub/nds/tlsscanner/serverscanner/probe/NamedGroupsProbe.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ public NamedGroupResult executeTest() {
9292
TestResult supportsExplicitPrime = getExplicitCurveSupport(EllipticCurveType.EXPLICIT_PRIME);
9393
TestResult supportsExplicitChar2 = getExplicitCurveSupport(EllipticCurveType.EXPLICIT_CHAR2);
9494

95-
Map<NamedGroup, NamedGroupWitness> groupsTls13 = getTls13SupportedGroups();
95+
Map<NamedGroup, NamedGroupWitness> groupsTls13 = new HashMap<>();
96+
if (!configSelector.getScannerConfig().getDtlsDelegate().isDTLS()) {
97+
groupsTls13 = getTls13SupportedGroups();
98+
}
9699

97100
TestResult groupsDependOnCipherSuite = getGroupsDependOnCipherSuite(overallSupported);
98101

0 commit comments

Comments
 (0)