Skip to content

Commit

Permalink
Updated Version and fixed a null pointer exception in the certificate…
Browse files Browse the repository at this point in the history
… probe
  • Loading branch information
ic0ns committed Sep 9, 2019
1 parent 0c04daa commit 698fad9
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 698fad9

Please sign in to comment.