Apparently s->ctx could be NULL. (Coverity ID 147).
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 7c2eb02..3c6907f 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c
@@ -1197,7 +1197,7 @@ * Note: this must be called after servername callbacks in case * the certificate has changed. */ - if ((s->tlsext_status_type != -1) && s->ctx->tlsext_status_cb) + if ((s->tlsext_status_type != -1) && s->ctx && s->ctx->tlsext_status_cb) { int r; r = s->ctx->tlsext_status_cb(s, s->ctx->tlsext_status_arg);