-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
test: add test for tls.parseCertString #4283
Conversation
const assert = require('assert'); | ||
const tls = require('tls'); | ||
|
||
const singles = 'C=US\nST=CA\nL=SF\nO=Joyent\nOU=Node.js\nCN=ca1\n' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/Joyent/Node.js Foundation/? That also tests if blanks in the O field are parsed correctly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call. I had copied that directly from the comment above the actual function but will change.
LGTM with a suggestion. |
56865e5
to
7c1a04c
Compare
It does not currently have any explicit tests to verify the behavior. PR-URL: nodejs#4283 Reviewed-By: Ben Noordhuis <[email protected]>
7c1a04c
to
0b9c3a3
Compare
Landed in 0b9c3a3. Thanks! |
It does not currently have any explicit tests to verify the behavior. PR-URL: #4283 Reviewed-By: Ben Noordhuis <[email protected]>
It does not currently have any explicit tests to verify the behavior. PR-URL: #4283 Reviewed-By: Ben Noordhuis <[email protected]>
It does not currently have any explicit tests to verify the behavior. PR-URL: #4283 Reviewed-By: Ben Noordhuis <[email protected]>
It does not currently have any explicit tests to verify the behavior. PR-URL: nodejs#4283 Reviewed-By: Ben Noordhuis <[email protected]>
It does not currently have any explicit tests to verify the behavior.