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

Fixed issue where rootcastr was empty because size() hadn't yet been … #144

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

BrentIO
Copy link
Contributor

@BrentIO BrentIO commented Apr 3, 2024

Corrects reading from the filesystem where the get() is called before size(), which will always create an empty string in content. Moving the sequence corrects this issue.

…called. Moved get() after size() and also logging of the contents to prevent null pointer exception/panic
@tobozo
Copy link
Collaborator

tobozo commented Apr 4, 2024

thanks for spotting that!

@tobozo tobozo merged commit c8573d1 into chrisjoyce911:master Apr 4, 2024
3 checks passed
@BrentIO BrentIO deleted the Fix-reading-PEM-issue branch April 4, 2024 11:16
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.

2 participants