diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-04-18 18:21:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-18 11:21:08 -0600 |
commit | 6a09a16d710b2d7a9d39478e5bcbabb40919d657 (patch) | |
tree | 89d89485ec7c8c31fc8cf224995697919d9c8811 /ext/fetch/22_http_client.js | |
parent | 5e2a747685490b31efa778241fccf938bd33722d (diff) |
feat(ext/net): extract TLS key and certificate from interfaces (#23327)
Relands #23325
Diffstat (limited to 'ext/fetch/22_http_client.js')
-rw-r--r-- | ext/fetch/22_http_client.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ext/fetch/22_http_client.js b/ext/fetch/22_http_client.js index e1389bbe1..061a3dda8 100644 --- a/ext/fetch/22_http_client.js +++ b/ext/fetch/22_http_client.js @@ -25,12 +25,7 @@ const { ObjectDefineProperty } = primordials; */ function createHttpClient(options) { options.caCerts ??= []; - const keyPair = loadTlsKeyPair( - options.cert, - undefined, - options.key, - undefined, - ); + const keyPair = loadTlsKeyPair("Deno.createHttpClient", options); return new HttpClient( op_fetch_custom_client( options, |