File tree 1 file changed +11
-3
lines changed
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -386,9 +386,13 @@ function XMLHttpRequest(opts) {
386
386
} ;
387
387
388
388
if ( ssl ) {
389
+ options . pfx = opts . pfx ;
389
390
options . key = opts . key ;
391
+ options . passphrase = opts . passphrase ;
390
392
options . cert = opts . cert ;
391
393
options . ca = opts . ca ;
394
+ options . ciphers = opts . ciphers ;
395
+ options . rejectUnauthorized = opts . rejectUnauthorized ;
392
396
}
393
397
394
398
// Reset error flag
@@ -428,9 +432,13 @@ function XMLHttpRequest(opts) {
428
432
} ;
429
433
430
434
if ( ssl ) {
431
- newOptions . key = opts . key ;
432
- newOptions . cert = opts . cert ;
433
- newOptions . ca = opts . ca ;
435
+ options . pfx = opts . pfx ;
436
+ options . key = opts . key ;
437
+ options . passphrase = opts . passphrase ;
438
+ options . cert = opts . cert ;
439
+ options . ca = opts . ca ;
440
+ options . ciphers = opts . ciphers ;
441
+ options . rejectUnauthorized = opts . rejectUnauthorized ;
434
442
}
435
443
436
444
// Issue the new request
You can’t perform that action at this time.
0 commit comments