Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Commit

Permalink
src: use CHECK(false) in switch default case
Browse files Browse the repository at this point in the history
  • Loading branch information
nitsakh authored and zcbenz committed Apr 16, 2019
1 parent ee91517 commit 6e15b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_crypto.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3278,7 +3278,7 @@ static ManagedEVPPKey GetPublicOrPrivateKeyFromJs(
is_public = false;
break;
default:
CHECK(!"Invalid key encoding type");
CHECK(false);
}

if (is_public) {
Expand Down

0 comments on commit 6e15b0c

Please sign in to comment.