diff --git a/src/main/java/de/rub/nds/siwecos/tls/TlsScannerCallback.java b/src/main/java/de/rub/nds/siwecos/tls/TlsScannerCallback.java index 4210d36..66450d7 100644 --- a/src/main/java/de/rub/nds/siwecos/tls/TlsScannerCallback.java +++ b/src/main/java/de/rub/nds/siwecos/tls/TlsScannerCallback.java @@ -109,10 +109,10 @@ public void answer(ScanResult result) { } public ScanResult reportToScanResult(SiteReport report) { - if (!report.getServerIsAlive()) { + if (report.getServerIsAlive() != Boolean.TRUE) { return new ScanResult("TLS", true, getHttpsResponse(report), 0, new LinkedList()); } - if (!report.getSupportsSslTls()) { + if (report.getSupportsSslTls() != Boolean.TRUE) { return new ScanResult("TLS", true, getHttpsSupported(report), 0, new LinkedList()); } List resultList = new LinkedList<>();