diff --git a/test/parallel/test-tls-multi-key.js b/test/parallel/test-tls-multi-key.js index 8ccc0d32d93757..de213f57e2d65d 100644 --- a/test/parallel/test-tls-multi-key.js +++ b/test/parallel/test-tls-multi-key.js @@ -160,9 +160,7 @@ function test(options) { version: 'TLSv1/SSLv3' }); assert.strictEqual(ecdsa.getPeerCertificate().subject.CN, eccCN); - // XXX(sam) certs don't currently include EC key info, so depend on - // absence of RSA key info to indicate key is EC. - assert(!ecdsa.getPeerCertificate().exponent, 'not cert for an RSA key'); + assert.strictEqual(ecdsa.getPeerCertificate().asn1Curve, 'prime256v1'); ecdsa.end(); connectWithRsa(); }));