diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 68af2f58b5cfee..b2cb9941d9f92a 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -2220,9 +2220,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) {