From 6a09a16d710b2d7a9d39478e5bcbabb40919d657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 18 Apr 2024 18:21:08 +0100 Subject: feat(ext/net): extract TLS key and certificate from interfaces (#23327) Relands #23325 --- ext/fetch/22_http_client.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'ext/fetch') 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, -- cgit v1.2.3