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