| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -217,7 +217,8 @@ exports.createSecureContext = function createSecureContext(options) { | |||
| 217 | 217 | // which leads to the crash later on. | |
| 218 | 218 | if (key) { | |
| 219 | 219 | if (ArrayIsArray(key)) { | |
| 220 | - for (const val of key) { | ||
| 220 | + for (let i = 0; i < key.length; ++i) { | ||
| 221 | + const val = key[i]; | ||
| 221 | 222 | // eslint-disable-next-line eqeqeq | |
| 222 | 223 | const pem = (val != undefined && val.pem !== undefined ? val.pem : val); | |
| 223 | 224 | setKey(c.context, pem, val.passphrase || passphrase); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments