[svn-commits] oej: branch oej/teapot-1.8 r412195 - /team/oej/teapot-1.8/channels/sip/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Apr 11 08:08:13 CDT 2014


Author: oej
Date: Fri Apr 11 08:08:07 2014
New Revision: 412195

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=412195
Log:
Don't offer MKI if we don't support it. SImple as that.

Modified:
    team/oej/teapot-1.8/channels/sip/sdp_crypto.c

Modified: team/oej/teapot-1.8/channels/sip/sdp_crypto.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/teapot-1.8/channels/sip/sdp_crypto.c?view=diff&rev=412195&r1=412194&r2=412195
==============================================================================
--- team/oej/teapot-1.8/channels/sip/sdp_crypto.c (original)
+++ team/oej/teapot-1.8/channels/sip/sdp_crypto.c Fri Apr 11 08:08:07 2014
@@ -382,7 +382,7 @@
 		ast_free(p->a_crypto);
 	}
 
-	if (ast_asprintf(&p->a_crypto, "a=crypto:%s %s inline:%s|2^31|1:1\r\n",
+	if (ast_asprintf(&p->a_crypto, "a=crypto:%s %s inline:%s|2^31\r\n",
 			 p->tag ? p->tag : "1", p->suite, p->local_key64) == -1) {
 			ast_log(LOG_ERROR, "Could not allocate memory for crypto line\n");
 		return -1;




More information about the svn-commits mailing list