Comment cleanup

This commit is contained in:
Roland Shoemaker 2015-07-31 11:32:53 -07:00
parent e12564bb11
commit 0041283960
2 changed files with 3 additions and 4 deletions

View File

@ -15,7 +15,7 @@ import (
)
const (
// No filter is used to tell LookupHost to query both A and AAAA records
// NoFilter is used to tell LookupHost to query both A and AAAA records
NoFilter = iota
// IPv4OnlyFilter is used to tell LookupHost to only query A records
IPv4OnlyFilter

View File

@ -64,7 +64,6 @@ type verificationRequestEvent struct {
}
func verifyValidationJWS(validation *jose.JsonWebSignature, accountKey *jose.JsonWebKey, target map[string]interface{}) error {
if len(validation.Signatures) > 1 {
return fmt.Errorf("Too many signatures on validation JWS")
}
@ -99,8 +98,6 @@ func verifyValidationJWS(validation *jose.JsonWebSignature, accountKey *jose.Jso
return nil
}
// Validation methods
// problemDetailsFromDNSError checks the error returned from Lookup...
// methods and tests if the error was an underlying net.OpError or an error
// caused by resolver returning SERVFAIL or other invalid Rcodes and returns
@ -155,6 +152,8 @@ func (va ValidationAuthorityImpl) resolvingDialer(name string, scheme string) (f
}, addr, nil
}
// Validation methods
func (va ValidationAuthorityImpl) validateSimpleHTTP(identifier core.AcmeIdentifier, input core.Challenge, accountKey jose.JsonWebKey) (core.Challenge, error) {
challenge := input