-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-17517] Only Initialize specified provider
Code currently tries to initialize multiple providers based on provided config Opts being nil or not. This update ensures that only specified provider is initialized based on ProviderName. This fixes "Failed initializing PKCS11.BCCSP %!s(<nil>)" error when the code complied with PKCS11 enabled expect configuration to not be nil even when Provider is set to SW. Signed-off-by: Ahmed Sajid <ahmed.sajid@securekey.com> (cherry picked from commit 2be701459257f9b12243fe15ccc35edf63f4c91b)
- Loading branch information
1 parent
6566d1b
commit 00bd23c
Showing
2 changed files
with
27 additions
and
1 deletion.
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