coverity 185654: acme: confirm vhd non-NULL

This commit is contained in:
Andy Green 2018-04-06 12:16:51 +08:00
parent d830185df9
commit bf5457af69

View file

@ -1530,6 +1530,8 @@ poll_again:
break;
case LWS_CALLBACK_USER + 0xac33:
if (!vhd)
break;
cwsi = lws_acme_client_connect(vhd->context, vhd->vhost,
&ac->cwsi, &ac->i,
ac->challenge_uri,