Bump cfssl to be compatible with Go 1.10
This commit is contained in:
7
vendor/github.com/cloudflare/cfssl/errors/error.go
generated
vendored
7
vendor/github.com/cloudflare/cfssl/errors/error.go
generated
vendored
@@ -149,6 +149,8 @@ const (
|
||||
|
||||
// UnknownProfile indicates that the profile does not exist.
|
||||
UnknownProfile // 54XX
|
||||
|
||||
UnmatchedWhitelist // 55xx
|
||||
)
|
||||
|
||||
// The following are API client related errors, and should be
|
||||
@@ -189,6 +191,9 @@ const (
|
||||
// PrecertSubmissionFailed occurs when submitting a precertificate to
|
||||
// a log server fails
|
||||
PrecertSubmissionFailed = 100 * (iota + 1)
|
||||
// CTClientConstructionFailed occurs when the construction of a new
|
||||
// github.com/google/certificate-transparency client fails.
|
||||
CTClientConstructionFailed
|
||||
)
|
||||
|
||||
// Certificate persistence related errors specified with CertStoreError
|
||||
@@ -313,6 +318,8 @@ func New(category Category, reason Reason) *Error {
|
||||
msg = "Policy violation request"
|
||||
case UnknownProfile:
|
||||
msg = "Unknown policy profile"
|
||||
case UnmatchedWhitelist:
|
||||
msg = "Request does not match policy whitelist"
|
||||
default:
|
||||
panic(fmt.Sprintf("Unsupported CFSSL error reason %d under category PolicyError.",
|
||||
reason))
|
||||
|
Reference in New Issue
Block a user