joyent/node — pull request #6657 by lalitkapoor (2013-12-07 06:40:54+00:00)
Title: https: using https client instead of curl for test-https-foafssl

This addresses issue #6647

The curl binary that is executed may not support the features required for this test (in this case support for a client certificate) - it is dependent on how curl was built. By using node's https agent instead of execute the curl command we can avoid this external dependency and the variability.