We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea42514 commit 9c83002Copy full SHA for 9c83002
test/parallel/test-tls-multi-key.js
@@ -160,9 +160,7 @@ function test(options) {
160
version: 'TLSv1/SSLv3'
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