Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Commit

Permalink
Merge pull request #760 from leeabc/master
Browse files Browse the repository at this point in the history
support tls secureProtocol option
  • Loading branch information
mcollina authored Jul 12, 2018
2 parents 9686ce8 + 8c7cc4a commit 0e79adf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ function modernize(legacy) {
if (legacy.secure.hasOwnProperty('certPath')) {
modernized.credentials.certPath = legacy.secure.certPath;
}
if (legacy.secure.hasOwnProperty('secureProtocol')) {
modernized.credentials.secureProtocol = legacy.secure.secureProtocol;
}
} // else no credentials were provided

// construct `interfaces`
Expand Down

0 comments on commit 0e79adf

Please sign in to comment.