diff options
author | defanor <defanor@uberspace.net> | 2023-09-26 19:32:24 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2023-09-26 19:32:24 +0300 |
commit | 153439d434bc914bcfaac403da84e3e9f0bf1367 (patch) | |
tree | 9f71a2a9e6beb5cfc6483b84159e56b19a757637 /src/rexmpp.c | |
parent | 7a63d327772dc64978e9159d49885a9ae7dd9b4e (diff) |
Support OpenSSL for DTLS-SRTP
Diffstat (limited to 'src/rexmpp.c')
-rw-r--r-- | src/rexmpp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rexmpp.c b/src/rexmpp.c index 435fda2..60d138f 100644 --- a/src/rexmpp.c +++ b/src/rexmpp.c @@ -2540,7 +2540,7 @@ rexmpp_err_t rexmpp_run (rexmpp_t *s, fd_set *read_fds, fd_set *write_fds) { if (s->tcp_state == REXMPP_TCP_CONNECTED && s->stream_state == REXMPP_STREAM_CLOSED && s->tls_state == REXMPP_TLS_CLOSING) { - rexmpp_tls_err_t err = rexmpp_tls_disconnect(s); + rexmpp_tls_err_t err = rexmpp_tls_disconnect(s, s->tls); if (err == REXMPP_TLS_SUCCESS) { s->tls_state = REXMPP_TLS_INACTIVE; rexmpp_cleanup(s); |