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 97a919b commit ed2c696Copy full SHA for ed2c696
test/parallel/test-tls-multi-key.js
@@ -160,9 +160,7 @@ function test(options) {
160
version: 'TLSv1.2'
161
});
162
assert.strictEqual(ecdsa.getPeerCertificate().subject.CN, eccCN);
163
- // XXX(sam) certs don't currently include EC key info, so depend on
164
- // absence of RSA key info to indicate key is EC.
165
- assert(!ecdsa.getPeerCertificate().exponent, 'not cert for an RSA key');
+ assert.strictEqual(ecdsa.getPeerCertificate().asn1Curve, 'prime256v1');
166
ecdsa.end();
167
connectWithRsa();
168
}));
0 commit comments