diff options
author | Ben Laurie <ben@openssl.org> | 2008-12-29 16:13:49 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2008-12-29 16:13:49 +0000 |
commit | 121f9e743cb35cd261c839ecd9c420777a48968b (patch) | |
tree | 05ceead26e005e956313d239615755020c1ecec9 /ssl | |
parent | 0eab41fb78cf4d7c76e563fd677ab6c32fc28bb0 (diff) |
Apparently s->ctx could be NULL at this point (see earlier
test). (Coverity ID 148).
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/t1_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index c1d4173b5e..7c2eb027eb 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -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 |