diff options
Diffstat (limited to 'ext/node/polyfills/_tls_common.ts')
-rw-r--r-- | ext/node/polyfills/_tls_common.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/node/polyfills/_tls_common.ts b/ext/node/polyfills/_tls_common.ts new file mode 100644 index 000000000..c032f5680 --- /dev/null +++ b/ext/node/polyfills/_tls_common.ts @@ -0,0 +1,15 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright Joyent and Node contributors. All rights reserved. MIT license. +// deno-lint-ignore-file no-explicit-any + +export function createSecureContext(options: any) { + return { + ca: options?.ca, + cert: options?.cert, + key: options?.key, + }; +} + +export default { + createSecureContext, +}; |