Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove BCCSP Utilities #928

Merged
merged 3 commits into from
Mar 29, 2020
Merged

Remove BCCSP Utilities #928

merged 3 commits into from
Mar 29, 2020

Conversation

lindluni
Copy link
Contributor

@lindluni lindluni commented Mar 28, 2020

Removes a bunch of "utilities" in the BCCSP package and pushes the very simplistic code into the calling functions

@lindluni lindluni requested a review from a team as a code owner March 28, 2020 04:49
@lindluni lindluni changed the title Cleanup BCCSP Utilities Remove BCCSP Utilities Mar 28, 2020
bccsp/sw/fileks.go Outdated Show resolved Hide resolved
bccsp/sw/fileks.go Outdated Show resolved Hide resolved
bccsp/sw/fileks.go Outdated Show resolved Hide resolved
bccsp/sw/keyimport.go Show resolved Hide resolved
bccsp/sw/keyimport.go Outdated Show resolved Hide resolved
bccsp/sw/fileks.go Outdated Show resolved Hide resolved
Copy link
Contributor

@mastersingh24 mastersingh24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to do more of this type of thing

bccsp/sw/keyimport.go Show resolved Hide resolved
Copy link
Contributor

@cendhu cendhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, Brett, for the changes. A minor suggestion on comments.

bccsp/sw/fileks.go Outdated Show resolved Hide resolved
Removes the multiple utility files and functions
for checking if a dir exists and simply performs the
check in original calling function

Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
Pushes the clone commands into the caller
and removes the cloning utility

Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
Pushes the DERToX509Certificate functionality
into the caller as it was simply a wrapper for
a direct call to x509.ParseCertificate

Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
@sykesm sykesm merged commit 69da72e into hyperledger:master Mar 29, 2020
denyeart pushed a commit that referenced this pull request Mar 29, 2020
Signed-off-by: Brett Logan <brett.t.logan@ibm.com>
@lindluni lindluni deleted the bccsp branch April 15, 2020 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants