diff --git a/src/node_crypto.cc b/src/node_crypto.cc index e33ab227b4..0298e92683 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -3277,7 +3277,7 @@ static ManagedEVPPKey GetPublicOrPrivateKeyFromJs( is_public = false; break; default: - CHECK(!"Invalid key encoding type"); + CHECK(false); } if (is_public) {