Skip to content

Commit 373cf59

Browse files
committed
Added supports any tls13 getter
1 parent 51f7d4a commit 373cf59

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/de/rub/nds/tlsscanner/report/SiteReport.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,10 @@ public void setSupportsTls12(Boolean supportsTls12) {
577577
this.supportsTls12 = supportsTls12;
578578
}
579579

580+
public Boolean supportsAnyTls13() {
581+
return supportsTls13 == Boolean.TRUE || supportsTls13Draft14 == Boolean.TRUE || supportsTls13Draft15 == Boolean.TRUE || supportsTls13Draft16 == Boolean.TRUE || supportsTls13Draft17 == Boolean.TRUE || supportsTls13Draft18 == Boolean.TRUE || supportsTls13Draft19 == Boolean.TRUE || supportsTls13Draft20 == Boolean.TRUE || supportsTls13Draft21 == Boolean.TRUE || supportsTls13Draft22 == Boolean.TRUE;
582+
}
583+
580584
public Boolean getSupportsTls13() {
581585
return supportsTls13;
582586
}
@@ -1384,7 +1388,7 @@ public Boolean getClientHelloSizeIntolerance() {
13841388
public void setClientHelloSizeIntolerance(Boolean clientHelloSizeIntolerance) {
13851389
this.clientHelloSizeIntolerance = clientHelloSizeIntolerance;
13861390
}
1387-
1391+
13881392
@Override
13891393
public String toString() {
13901394
return getStringReport();

0 commit comments

Comments
 (0)