Skip to content

Commit

Permalink
Issue #441: Use array content instead of array object in LeshanServer…
Browse files Browse the repository at this point in the history
…Builder#build

Signed-off-by: Alexis Hernandez <alexis22229@gmail.com>
  • Loading branch information
AlexITC committed Nov 28, 2017
1 parent ebbf6f7 commit cf706e6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,8 @@ public LeshanServer build() {
&& !Arrays.equals(incompleteConfig.getCertificateChain(), certificateChain)) {
throw new IllegalStateException(String.format(
"Configuration conflict between LeshanBuilder and DtlsConnectorConfig.Builder for certificate chain: %s != %s",
certificateChain, incompleteConfig.getCertificateChain()));
Arrays.toString(certificateChain),
Arrays.toString(incompleteConfig.getCertificateChain())));
}

dtlsConfigBuilder.setIdentity(privateKey, certificateChain, false);
Expand Down

0 comments on commit cf706e6

Please sign in to comment.