| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent cb6b57f commit e4b4b37
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -265,7 +265,7 @@ function configSecureContext(context, options = kEmptyObject, name = 'options') | |||
| 265 | 265 | if (pfx !== undefined && pfx !== null) { | |
| 266 | 266 | if (ArrayIsArray(pfx)) { | |
| 267 | 267 | ArrayPrototypeForEach(pfx, (val) => { | |
| 268 | - const raw = val.buf ? val.buf : val; | ||
| 268 | + const raw = val.buf || val; | ||
| 269 | 269 | const pass = val.passphrase || passphrase; | |
| 270 | 270 | if (pass !== undefined && pass !== null) { | |
| 271 | 271 | context.loadPKCS12(toBuf(raw), toBuf(pass)); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments