diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 069633238550df..fdc227f4e2d9a9 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -2452,9 +2452,8 @@ void SSLWrap::GetEphemeralKeyInfo( .FromJust(); break; case EVP_PKEY_EC: - // TODO(shigeki) Change this to EVP_PKEY_X25519 and add EVP_PKEY_X448 - // after upgrading to 1.1.1. - case NID_X25519: + // TODO(shigeki) Add EVP_PKEY_X448. + case EVP_PKEY_X25519: { const char* curve_name; if (kid == EVP_PKEY_EC) {