Don't do SSL_clear unless the SSL object is initialized.
This commit is contained in:
parent
1e6d6cd1e7
commit
f25cb7bd5d
|
@ -180,6 +180,7 @@ void net_con_close(struct net_connection* con)
|
|||
g_backend->handler.con_del(g_backend->data, con);
|
||||
|
||||
#ifdef SSL_SUPPORT
|
||||
if (con->ssl)
|
||||
SSL_clear(con->ssl);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue