-
Notifications
You must be signed in to change notification settings - Fork 709
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-4826] Token-based auth issue to int server
There are two 1 line changes in lib/ca.go in this change set as follows: 1) Change "for" to "if" on this line: "if len(rest) > 0 {" This is the main fix to prevent an infinite loop in token-based authentication against an intermediate server with a cert chain that has multiple certs. 2) ca.Config.CA.Chainfile = chainPath This line is added to set the default value of the chainpath file. This is needed for test cases which don't use the config file, or if someone removes the default value for "ca.chainfile" from the config file. This also includes appropriate test case changes. Change-Id: I21497091ccedb6f7ba78e2a14a8ba4d9b9d238a2 Signed-off-by: Keith Smith <bksmith@us.ibm.com>
- Loading branch information
Keith Smith
committed
Jun 16, 2017
1 parent
5180ce7
commit 313d945
Showing
4 changed files
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters