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

Commit

Permalink
support tls secureProtocol option
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam S Lee (RD-TW) committed Jul 12, 2018
1 parent 9686ce8 commit 8c7cc4a
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 8c7cc4a

Please sign in to comment.