[asterisk-commits] mjordan: branch 10 r356651 - in /branches/10: ./ res/res_srtp.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Feb 24 11:42:57 CST 2012


Author: mjordan
Date: Fri Feb 24 11:42:53 2012
New Revision: 356651

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=356651
Log:
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

Modified:
    branches/10/   (props changed)
    branches/10/res/res_srtp.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/res/res_srtp.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/res/res_srtp.c?view=diff&rev=356651&r1=356650&r2=356651
==============================================================================
--- branches/10/res/res_srtp.c (original)
+++ branches/10/res/res_srtp.c Fri Feb 24 11:42:53 2012
@@ -530,9 +530,6 @@
 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;
 }




More information about the asterisk-commits mailing list