Skip to content

Commit 10a2d3b

Browse files
committed
fix broken windows unit test case
1 parent 0a17f1e commit 10a2d3b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

third_party/ecpsigner/windows/ncrypt/cert_util_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@
1717
package ncrypt
1818

1919
import (
20+
"crypto/x509"
2021
"testing"
2122
)
2223

2324
func TestCredProviderNotSupported(t *testing.T) {
24-
_, err := Cred("issuer", "store", "unsupported_provider")
25+
_, err := Cred(
26+
[][]byte{[]byte("issuer")},
27+
func(c *x509.Certificate) bool { return true },
28+
"store", "unsupported_provider")
2529
if err == nil {
2630
t.Errorf("Expected error, but got nil.")
2731
}

0 commit comments

Comments
 (0)