diff --git a/src/node_crypto.cc b/src/node_crypto.cc
index dfc21ae6876105..60462cc114e6ef 100644
--- a/src/node_crypto.cc
+++ b/src/node_crypto.cc
@@ -2495,10 +2495,6 @@ void SSLWrap::CertCbDone(const FunctionCallbackInfo& args) {
env->sni_context_string()).ToLocalChecked();
Local cons = env->secure_context_constructor_template();
- // Not an object, probably undefined or null
- if (!ctx->IsObject())
- goto fire_cb;
-
if (cons->HasInstance(ctx)) {
SecureContext* sc = Unwrap(ctx.As