forked from TrueCloudLab/lego
Remove unneeded re-checking of OCSP responses. The stdlib has us covered already.
Fixes #247
This commit is contained in:
parent
029ece0fd2
commit
e2f341198f
1 changed files with 0 additions and 7 deletions
|
@ -115,13 +115,6 @@ func GetOCSPForCert(bundle []byte) ([]byte, *ocsp.Response, error) {
|
||||||
return nil, nil, err
|
return nil, nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
if ocspRes.Certificate == nil {
|
|
||||||
err = ocspRes.CheckSignatureFrom(issuerCert)
|
|
||||||
if err != nil {
|
|
||||||
return nil, nil, err
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return ocspResBytes, ocspRes, nil
|
return ocspResBytes, ocspRes, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue