From b6fa7e42e09cf694497ae4e1bea8a539f9459904 Mon Sep 17 00:00:00 2001 From: Paul van Brouwershaven Date: Tue, 18 Jul 2017 16:10:29 +0200 Subject: [PATCH] Back to indirect pkcs11.New --- p11sign.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/p11sign.go b/p11sign.go index 0bca6e0..c153231 100644 --- a/p11sign.go +++ b/p11sign.go @@ -13,8 +13,6 @@ import ( "bitbucket.org/digitorus/pdfsign/sign" "bitbucket.org/digitorus/pdfsign/verify" "bitbucket.org/digitorus/pkcs11" - - p11 "github.com/miekg/pkcs11" ) func usage() { @@ -69,7 +67,7 @@ func main() { } // Load Library - ctx := p11.New(lib) + ctx := pkcs11.New(lib) if ctx == nil { log.Fatal("Failed to load library") }