| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
There is actually a dedicated function to load the keys directly (readKey). Please use that instead.
Sorry, something went wrong.
|
@BridgeAR done! Note: something that is slightly confusing in this context is that readKey handles both certs and keys, though it makes implicit sense since they exist in /keys. ¯_(ツ)_/¯ |
Sorry, something went wrong.
Sorry, something went wrong.
| const server = tls.createServer({ | ||
| key: fs.readFileSync(`${common.fixturesDir}/keys/agent1-key.pem`), | ||
| cert: fs.readFileSync(`${common.fixturesDir}/keys/agent1-cert.pem`) | ||
| key: fixtures.readKey('/agent1-key.pem'), |
There was a problem hiding this comment.
I think you can drop the leading slashes.
Sorry, something went wrong.
|
@obensource Certificates are essentially keys with some metadata, so it is kind of an abstraction. |
Sorry, something went wrong.
|
@tniessen rad, that makes sense. Thanks! 🍻 |
Sorry, something went wrong.
Sorry, something went wrong.
|
@joyeecheung fyi CI 10485 failure here: 479 | sequential/test-async-wrap-getasyncid | -- | -- | -- duration_ms0.2severitycrashedstackoh no! exit code: CRASHED | | duration_ms | 0.2 | | severity | crashed | | stack | oh no! exit code: CRASHED | duration_ms | 0.2 | severity | crashed | stack | oh no! exit code: CRASHED Related to reopened issue: #13020 Not something to additionally address in this tls test PR I'd guess–hence approval? Edited by Trott for formatting. |
Sorry, something went wrong.
PR-URL: #15965 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
|
Landed in 17857d4 Thanks for the PR, and congratulations on becoming a Node.js Contributor 🎉 ! |
Sorry, something went wrong.
|
@BridgeAR Wahoo! Thank you! 🎉🎉🎉 So excited to jump in–thanks for reviewing! 😎 |
Sorry, something went wrong.
PR-URL: #15965 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
PR-URL: nodejs/node#15965 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
PR-URL: #15965 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
PR-URL: #15965 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
PR-URL: #15965 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
| Back | FazBrowse Home | New Git URL |
Replaces use of common.fixturesDir with common.fixtures module in test/parallel/test-tls-max-send-fragment.js.
Checklist