OpenSSL: Add another debugging assert
This commit is contained in:
parent
01ce1c508d
commit
15e2cab1e5
1 changed files with 4 additions and 1 deletions
|
@ -582,10 +582,13 @@ rb_ssl_write(rb_fde_t *const F, const void *const buf, const size_t count)
|
|||
static void
|
||||
rb_ssl_connect_realcb(rb_fde_t *const F, const int status, struct ssl_connect *const sconn)
|
||||
{
|
||||
lrb_assert(F->connect != NULL);
|
||||
|
||||
F->connect->callback = sconn->callback;
|
||||
F->connect->data = sconn->data;
|
||||
rb_free(sconn);
|
||||
|
||||
rb_connect_callback(F, status);
|
||||
rb_free(sconn);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue