Flatten method sig
This commit is contained in:
parent
aff276fc7d
commit
c073da7b1b
|
@ -325,10 +325,7 @@ func (ra *RegistrationAuthorityImpl) NewAuthorization(request core.Authorization
|
|||
// * IsCA is false
|
||||
// * ExtKeyUsage only contains ExtKeyUsageServerAuth & ExtKeyUsageClientAuth
|
||||
// * Subject only contains CommonName & Names
|
||||
func (ra *RegistrationAuthorityImpl) MatchesCSR(
|
||||
cert core.Certificate,
|
||||
csr *x509.CertificateRequest,
|
||||
) (err error) {
|
||||
func (ra *RegistrationAuthorityImpl) MatchesCSR(cert core.Certificate, csr *x509.CertificateRequest) (err error) {
|
||||
parsedCertificate, err := x509.ParseCertificate([]byte(cert.DER))
|
||||
if err != nil {
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue