mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
Apparently s->ctx could be NULL at this point (see earlier
test). (Coverity ID 148).
This commit is contained in:
parent
0eab41fb78
commit
121f9e743c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user