aboutsummaryrefslogtreecommitdiff
path: root/src/js/node/tls.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/node/tls.js')
-rw-r--r--src/js/node/tls.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/js/node/tls.js b/src/js/node/tls.js
index e8c2dd998..aa3601311 100644
--- a/src/js/node/tls.js
+++ b/src/js/node/tls.js
@@ -145,6 +145,12 @@ function splitEscapedAltNames(altNames) {
ArrayPrototypePush.call(result, currentToken);
return result;
}
+
+// TODO:
+function canonicalizeIP(ip) {
+ return ip;
+}
+
function checkServerIdentity(hostname, cert) {
const subject = cert.subject;
const altNames = cert.subjectaltname;