Skip to content

Commit

Permalink
FAB-5242 The TLS configuration not working
Browse files Browse the repository at this point in the history
The TLS configuration not work for peer/orderer

Change-Id: I8f4503a7c2d4b95a5e7f14b277501f77e6e44c6d
Signed-off-by: rickr <cr22rc@gmail.com>
  • Loading branch information
cr22rc committed Jul 17, 2017
1 parent 7ed5ebc commit 12334a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/hyperledger/fabric/sdk/Endpoint.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2016 DTCC, Fujitsu Australia Software Technology - All Rights Reserved.
* Copyright 2016,2017 DTCC, Fujitsu Australia Software Technology, IBM - All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -117,7 +117,7 @@ class Endpoint {
if (nt == null) {
throw new RuntimeException("Property of negotiationType expected");
}
if (!nt.equals("TLS") && !sslp.equals("plainText")) {
if (!nt.equals("TLS") && !nt.equals("plainText")) {
throw new RuntimeException("Property of negotiationType has to be either TLS or plainText");
}
}
Expand Down

0 comments on commit 12334a9

Please sign in to comment.