mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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:
1 parent
b871cff2db
commit
a57aebaa73
50 files changed
+1136
-432
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user