aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/gballet/go-libpcsclite/winscard.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/gballet/go-libpcsclite/winscard.go')
-rw-r--r--vendor/github.com/gballet/go-libpcsclite/winscard.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/gballet/go-libpcsclite/winscard.go b/vendor/github.com/gballet/go-libpcsclite/winscard.go
index e4692ed16..b916db162 100644
--- a/vendor/github.com/gballet/go-libpcsclite/winscard.go
+++ b/vendor/github.com/gballet/go-libpcsclite/winscard.go
@@ -56,10 +56,10 @@ type Client struct {
// EstablishContext asks the PCSC daemon to create a context
// handle for further communication with connected cards and
// readers.
-func EstablishContext(scope uint32) (*Client, error) {
+func EstablishContext(path string, scope uint32) (*Client, error) {
client := &Client{}
- conn, err := clientSetupSession()
+ conn, err := clientSetupSession(path)
if err != nil {
return nil, err
}