We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5f6905 commit a74d9c5Copy full SHA for a74d9c5
src/v1/internal/features.js
@@ -27,7 +27,7 @@ const FEATURES = {
27
// that supports reading the whole certificate, eg this commit:
28
// https://github.com/nodejs/node/commit/345c40b6
29
let desc = require('tls').TLSSocket.prototype.getPeerCertificate;
30
- return desc.length() >= 1;
+ return desc.length >= 1;
31
} catch( e ) {
32
return false;
33
}
0 commit comments