Skip to content

crypto/boring: build constraints exclude all Go files #59

Closed as not planned
@dbenoit17

Description

@dbenoit17

The following program:

package main
import (
    "fmt"
    "crypto/boring"
)

func main() {
    fmt.Println("boring enabled:", boring.Enabled())
}

Produces the error

imports crypto/boring: build constraints exclude all Go files in /usr/lib/golang/src/crypto/boring

This is due to the public API missing the build tag change to !no_openssl. However, the curious thing is that running with -tags="boringcrypto" does not resolve the issue. @derekparker any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions