diff --git a/src/node_crypto.cc b/src/node_crypto.cc
index eae0f2e49d3c86..ebcf964637ed0c 100644
--- a/src/node_crypto.cc
+++ b/src/node_crypto.cc
@@ -2496,10 +2496,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