diff --git a/src/ssl b/src/ssl index e3c49e5..63cdf77 160000 --- a/src/ssl +++ b/src/ssl @@ -1 +1 @@ -Subproject commit e3c49e59d79ee0dd5282a32b420289382fbd7020 +Subproject commit 63cdf7739d3db7fb144e3a7f5f3618e6edf27aff diff --git a/src/umqtt.c b/src/umqtt.c index 7039241..c57b8a1 100644 --- a/src/umqtt.c +++ b/src/umqtt.c @@ -74,8 +74,8 @@ static void umqtt_free(struct umqtt_client *cl) buffer_free(&cl->rb); buffer_free(&cl->wb); -#if UMQTT_SSL_SUPPORT - umqtt_ssl_free(cl->ssl); +#ifdef SSL_SUPPORT + ssl_session_free(cl->ssl); #endif if (cl->sock > 0)