diff options
author | Matthew Jordan <mjordan@digium.com> | 2012-02-24 17:43:26 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2012-02-24 17:43:26 +0000 |
commit | 8e1f841dde99b00e0581e8d5f2859bc503d70aed (patch) | |
tree | e2cb05073654e5a05068dfb541f9548c986c984d | |
parent | 670797e5da08808716ce1eafc9fc2b9bec8f1d58 (diff) |
Remove srtp_shutdown from res_srtp
The patch for ASTERISK-19253 included properly shutting down the libsrtp
library in the case of module unload. Unfortunately, not all distributions
have the srtp_shutdown call. As such, this patch removes calling
srtp_shutdown.
........
Merged revisions 356650 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 356651 from http://svn.asterisk.org/svn/asterisk/branches/10
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@356652 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | res/res_srtp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/res/res_srtp.c b/res/res_srtp.c index 9f9bf75b8..0dd3d3eec 100644 --- a/res/res_srtp.c +++ b/res/res_srtp.c @@ -530,9 +530,6 @@ static int ast_srtp_change_source(struct ast_srtp *srtp, unsigned int from_ssrc, static void res_srtp_shutdown(void) { srtp_install_event_handler(NULL); - if (srtp_shutdown() != err_status_ok) { - ast_log(AST_LOG_WARNING, "Failed to de-initialize libsrtp\n"); - } ast_rtp_engine_unregister_srtp(); g_initialized = 0; } |