Files
2024-11-01 17:43:06 +00:00

15 lines
437 B
Go

package certstore
import "errors"
// This will hopefully give a compiler error that will hint at the fact that
// this package isn't designed to work on Linux.
func init() {
CERTSTORE_DOESNT_WORK_ON_LINIX
}
// Implement this function, just to silence other compiler errors.
func openStore(location StoreLocation, permissions ...StorePermission) (Store, error) {
return nil, errors.New("certstore only works on macOS and Windows")
}