Skip to content

Conversation

@njones
Copy link

@njones njones commented Jul 8, 2014

Refactored, added tests and libized the code.

  • Refactored the code, to use the bufio.Scanner instead of the getLine() user function.
  • Refactored the helper functions to use simpler mechanics.
  • Added tests for all of the helper functions (with the exception of the Field() function.)
  • Separated the code so that it could be used as a library if needed. For example this is good for parsing the files to be included as a root cert pool.
  • Added optional -quiet flag, to suppress output if just writing the parsed the NSS file to separate files.

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