diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 8c2121687600dd..fbd3e9fe1c8d13 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -3323,7 +3323,7 @@ void CipherBase::Initialize(Environment* env, Local target) { void CipherBase::New(const FunctionCallbackInfo& args) { - CHECK_EQ(args.IsConstructCall(), true); + CHECK(args.IsConstructCall()); CipherKind kind = args[0]->IsTrue() ? kCipher : kDecipher; Environment* env = Environment::GetCurrent(args); new CipherBase(env, args.This(), kind);