Bladeren bron

Remove fmt.

Herman Slatman 5 jaren geleden
bovenliggende
commit
a6405e98a9
2 gewijzigde bestanden met toevoegingen van 0 en 2 verwijderingen
  1. 0 1
      acme/challenge.go
  2. 0 1
      acme/order.go

+ 0 - 1
acme/challenge.go

@@ -133,7 +133,6 @@ func tlsalpn01Validate(ctx context.Context, ch *Challenge, db DB, jwk *jose.JSON
 
 	conn, err := vo.TLSDial("tcp", hostPort, config)
 	if err != nil {
-		fmt.Println(err)
 		return storeError(ctx, db, ch, false, WrapError(ErrorConnectionType, err,
 			"error doing TLS dial for %s", hostPort))
 	}

+ 0 - 1
acme/order.go

@@ -217,7 +217,6 @@ func (o *Order) sans(csr *x509.CertificateRequest) ([]x509util.SubjectAlternativ
 	// TODO: limit what IP addresses can be used? Only private? Only certain ranges (i.e. only allow the specific ranges by default, configuration for all?)
 	// TODO: can DNS already be limited to a certain domain? That would probably be nice to have too, but maybe not as part of this PR
 	// TODO: if it seems not too big of a change, make consts/enums out of the stringly typed identifiers (challenge types, identifier types)
-	// based on configuration? Public vs. private range? That logic should be configurable somewhere.
 	// TODO: only allow IP based identifier based on configuration? Some additional configuration and validation on the provisioner for this case.
 
 	// Validate identifier names against CSR alternative names.