summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/_tls_common.ts
blob: d00c3629e1b602d245745ced252eff3160249a8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2018-2024 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,
};