File: open_windows.go

package info (click to toggle)
golang-github-smallstep-crypto 0.57.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,284 kB
  • sloc: sh: 53; makefile: 36
file content (14 lines) | stat: -rw-r--r-- 186 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//go:build windows
// +build windows

package open

import (
	"io"

	"github.com/google/go-tpm/legacy/tpm2"
)

func open(_ string) (io.ReadWriteCloser, error) {
	return tpm2.OpenTPM()
}