Skip to content

Commit

Permalink
Merge pull request #25 from RUB-NDS/hostnameCertProbeFix
Browse files Browse the repository at this point in the history
Updated Version and fixed a null pointer exception in the certificate…
  • Loading branch information
ic0ns authored Sep 9, 2019
2 parents 0c04daa + 698fad9 commit a943739
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>TLS-Scanner</artifactId>
<groupId>de.rub.nds.tlsscanner</groupId>
<version>2.10</version>
<version>2.11</version>
<packaging>jar</packaging>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public ProbeResult executeTest() {
tlsConfig.setDefaultClientSupportedCiphersuites(toTestList);
tlsConfig.setStopActionsAfterFatal(true);
Certificate serverCert = CertificateFetcher.fetchServerCertificate(tlsConfig);
CertificateChain chain = new CertificateChain(serverCert, getScannerConfig().getClientDelegate().getSniHostname());
CertificateChain chain = new CertificateChain(serverCert, tlsConfig.getDefaultClientConnection().getHostname());
return new CertificateResult(getType(), chain, serverCert);
}

Expand Down

0 comments on commit a943739

Please sign in to comment.