Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.

Commit 12334a9

Browse files
committed
FAB-5242 The TLS configuration not working
The TLS configuration not work for peer/orderer Change-Id: I8f4503a7c2d4b95a5e7f14b277501f77e6e44c6d Signed-off-by: rickr <cr22rc@gmail.com>
1 parent 7ed5ebc commit 12334a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/hyperledger/fabric/sdk/Endpoint.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016 DTCC, Fujitsu Australia Software Technology - All Rights Reserved.
2+
* Copyright 2016,2017 DTCC, Fujitsu Australia Software Technology, IBM - All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -117,7 +117,7 @@ class Endpoint {
117117
if (nt == null) {
118118
throw new RuntimeException("Property of negotiationType expected");
119119
}
120-
if (!nt.equals("TLS") && !sslp.equals("plainText")) {
120+
if (!nt.equals("TLS") && !nt.equals("plainText")) {
121121
throw new RuntimeException("Property of negotiationType has to be either TLS or plainText");
122122
}
123123
}

0 commit comments

Comments
 (0)