diff --git a/src/node_crypto.cc b/src/node_crypto.cc index e5728583ea9bf4..2d6dba11fb6a2f 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -1342,6 +1342,7 @@ void SecureContext::SetClientCertEngine( CHECK(args[0]->IsString()); SecureContext* sc = Unwrap(args.This()); + CHECK_NE(sc, nullptr); MarkPopErrorOnReturn mark_pop_error_on_return;