[svn-commits] mjordan: branch 1.8 r356650 - /branches/1.8/res/res_srtp.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Feb 24 11:41:21 CST 2012


Author: mjordan
Date: Fri Feb 24 11:41:18 2012
New Revision: 356650

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


Modified:
    branches/1.8/res/res_srtp.c

Modified: branches/1.8/res/res_srtp.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/res/res_srtp.c?view=diff&rev=356650&r1=356649&r2=356650
==============================================================================
--- branches/1.8/res/res_srtp.c (original)
+++ branches/1.8/res/res_srtp.c Fri Feb 24 11:41:18 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 svn-commits mailing list