提交 121f9e74 编写于 作者: B Ben Laurie

Apparently s->ctx could be NULL at this point (see earlier

test). (Coverity ID 148).
上级 0eab41fb
......@@ -1372,7 +1372,7 @@ int ssl_check_serverhello_tlsext(SSL *s)
* tell the callback
*/
if ((s->tlsext_status_type != -1) && !(s->tlsext_status_expected)
&& s->ctx->tlsext_status_cb)
&& s->ctx && s->ctx->tlsext_status_cb)
{
int r;
/* Set resp to NULL, resplen to -1 so callback knows
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册