http connection now gets 'unknown' fingerprint
This commit is contained in:
parent
c0659d1373
commit
6840dcdef3
1 changed files with 2 additions and 2 deletions
|
|
@ -207,6 +207,6 @@ function session(req) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getFingerprint(req) {
|
function getFingerprint(req) {
|
||||||
return typeof req.connection.getPeerCertificate === 'function' &&
|
return (typeof req.connection.getPeerCertificate === 'function' &&
|
||||||
req.connection.getPeerCertificate().fingerprint;
|
req.connection.getPeerCertificate().fingerprint) || 'unknown';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue