Skip to content

Commit

Permalink
remove unneeded todo as per cloudflare#1097 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
izolight committed May 26, 2023
1 parent c1cfc4c commit 58fc165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions csr/csr.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"encoding/asn1"
"encoding/pem"
"errors"
"io"
"fmt"
"io"
"net"
"net/mail"
"net/url"
Expand Down Expand Up @@ -279,7 +279,7 @@ func ParseRequest(req *CertificateRequest) (csr, key []byte, err error) {
panic("Generate should have failed to produce a valid key.")
}

csr, err = Generate(priv.(crypto.Signer), req) // TODO: solve
csr, err = Generate(priv.(crypto.Signer), req)
if err != nil {
log.Errorf("failed to generate a CSR: %v", err)
err = cferr.Wrap(cferr.CSRError, cferr.BadRequest, err)
Expand Down

0 comments on commit 58fc165

Please sign in to comment.