[asterisk-commits] oej: branch oej/teapot-1.8 r402879 - /team/oej/teapot-1.8/channels/sip/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Nov 18 09:08:27 CST 2013
Author: oej
Date: Mon Nov 18 09:08:23 2013
New Revision: 402879
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=402879
Log:
Let's see if we can loop to the second crypto key offered by ignoring the first one. Note, this is not
good coding and propably a very bad solution. I am ashamed.
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=402879&r1=402878&r2=402879
==============================================================================
--- team/oej/teapot-1.8/channels/sip/sdp_crypto.c (original)
+++ team/oej/teapot-1.8/channels/sip/sdp_crypto.c Mon Nov 18 09:08:23 2013
@@ -295,7 +295,9 @@
mki = strsep(&info, "|");
}
/* At this point we do not support multiple keys, sorry */
- if (mki != NULL && *mki != '1') {
+ //if (mki != NULL && *mki != '1') {
+ //If there's an MKI, give up.
+ if (mki != NULL) {
ast_log(LOG_ERROR, "Crypto mki handling not implemented. MKI = %s \n", mki);
continue;
}
More information about the asterisk-commits
mailing list