Replace var's with const's in OCSP stapling handler
This commit is contained in:
parent
9b03abc646
commit
bdc11fa3dc
1 changed files with 2 additions and 2 deletions
|
@ -831,8 +831,8 @@ if (process.serverConfig.secure) {
|
|||
ocsp.getOCSPURI(cert, function (err, uri) {
|
||||
if (err) return callback(err);
|
||||
|
||||
var req = ocsp.request.generate(cert, issuer);
|
||||
var options = {
|
||||
const req = ocsp.request.generate(cert, issuer);
|
||||
const options = {
|
||||
url: uri,
|
||||
ocsp: req.data
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue