Skip to content

Add OpenBSD support#110

Closed
jturner wants to merge 2 commits intoFiloSottile:masterfrom
jturner:openbsd-support
Closed

Add OpenBSD support#110
jturner wants to merge 2 commits intoFiloSottile:masterfrom
jturner:openbsd-support

Conversation

@jturner
Copy link
Copy Markdown

@jturner jturner commented Jan 9, 2019

Adds support for OpenBSD. No global system store so just adds to firefox/chromium.

Copy link
Copy Markdown
Owner

@FiloSottile FiloSottile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to support the system root store before merging this, as otherwise it will keep displaying warnings.

Also, truststore_openbsd.go is almost the same as truststore_linux.go. I wonder if we could merge them into a single truststore_unix.go with a build tag and a couple ifs.

Comment thread truststore_nss.go
hasCertutil = err == nil

case "linux":
case "openbsd":
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks Linux, there's no fallthrough in Go switch statements.

@jturner jturner closed this by deleting the head repository Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants