1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

Remove incorrect session ref count increment

This commit is contained in:
Catalin 2021-04-27 14:52:38 +03:00 committed by Andy Green
parent 32c4d2cb29
commit 80ca71d598

View file

@ -399,11 +399,6 @@ lws_tls_session_dump_load(struct lws_vhost *vh, const char *host, uint16_t port,
goto bail;
}
#if defined(LWS_HAVE_SSL_SESSION_up_ref)
SSL_SESSION_up_ref(sess);
#else
lwsl_err("%s: openssl is too old\n", __func__);
#endif
lwsl_tlssess("%s: session loaded OK\n", __func__);
lws_vhost_unlock(vh); /* } vh -------------- */