Skip to content

Commit

Permalink
Fix pkcs11ca with no cgo compilation bug
Browse files Browse the repository at this point in the history
Was seeing this bug on my M1 when running `ko build .`, since `PKCS11CA` needs to be redefined for the no-cgo case:

```
../fulcio/pkg/ca/pkcs11ca/pkcs11canocgo.go:26:2: undefined: baseca
```

Signed-off-by: Priya Wadhwa <priya@chainguard.dev>
  • Loading branch information
priyawadhwa committed Nov 24, 2022
1 parent 81ecec8 commit 99fdfc0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/ca/pkcs11ca/pkcs11canocgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,14 @@ package pkcs11ca

import (
"errors"

"github.com/sigstore/fulcio/pkg/ca/baseca"
)

type PKCS11CA struct {
baseca.BaseCA
}

type Params struct {
ConfigPath string
RootID string
Expand Down

0 comments on commit 99fdfc0

Please sign in to comment.