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