test: update tls/crypto behaviour expectations when using BoringSSL

Signed-off-by: Filip Skokan <panva.ip@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/63161
Backport-PR-URL: https://github.com/nodejs/node/pull/63433
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
Filip Skokan authored and Antoine du Hamel committed 2026-05-19 21:38:38 +02:00
1 parent b871cff2db
commit a57aebaa73
50 files changed
+1136 -432

No files matched your search

+2 -2
View File
@@ -56,8 +56,8 @@ const server = https.createServer(options, common.mustCall(function(req, res) {
cert = req.connection.getPeerCertificate();
assert.strictEqual(cert.subjectaltname, webIdUrl);
assert.strictEqual(cert.exponent, exponent);
assert.strictEqual(cert.modulus, modulus);
assert.strictEqual(cert.exponent.toLowerCase(), exponent.toLowerCase());
assert.strictEqual(cert.modulus.toLowerCase(), modulus.toLowerCase());
res.writeHead(200, { 'content-type': 'text/plain' });
res.end(body, () => { console.log('stream finished'); });
console.log('sent response');