<p>George Joseph has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/9637">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">SRTP Tests: Adjust off-nominal tests with short lifetimes<br><br>A recent patch to Asterisk lowered the srtp lifetime limit from<br>1800000 to 1048576 so off-nominal tests that were expected to fail<br>were now passing.<br><br>This patch lowers the lifetime used in those tests below the new<br>lower limit.<br><br>Change-Id: I4e957ce1f27bc682fe3d7e90c1a2c9490d8ee912<br>---<br>M tests/channels/SIP/sip_srtp/srtp_sdp_offer_answer/sipp/inject_attrib_single_off_nominal.csv<br>M tests/channels/pjsip/secure_calling/srtp_negotiation/sipp/decline.csv<br>2 files changed, 4 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/37/9637/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/channels/SIP/sip_srtp/srtp_sdp_offer_answer/sipp/inject_attrib_single_off_nominal.csv b/tests/channels/SIP/sip_srtp/srtp_sdp_offer_answer/sipp/inject_attrib_single_off_nominal.csv</span><br><span>index 2d1d523..24caaeb 100644</span><br><span>--- a/tests/channels/SIP/sip_srtp/srtp_sdp_offer_answer/sipp/inject_attrib_single_off_nominal.csv</span><br><span>+++ b/tests/channels/SIP/sip_srtp/srtp_sdp_offer_answer/sipp/inject_attrib_single_off_nominal.csv</span><br><span>@@ -11,8 +11,8 @@</span><br><span> 1 AES_CM_128_HMAC_SHA1_80 inline:Ar/jYxzGz1lLcR;</span><br><span> 1 AES_CM_128_HMAC_SHA1_80 Ar/jYxzGz1lLcROAnVi8IFGB2VJlynqKBhjaVvgb</span><br><span> 1 AES_CM_128_HMAC_SHA1_80 inlineAr/jYxzGz1lLcROAnVi8IFGB2VJlynqKBhjaVvgb</span><br><span style="color: hsl(0, 100%, 40%);">-1 AES_CM_128_HMAC_SHA1_80 inline:Ar/jYxzGz1lLcROAnVi8IFGB2VJlynqKBhjaVvgb|2^20;</span><br><span style="color: hsl(0, 100%, 40%);">-1 AES_CM_128_HMAC_SHA1_80 inline:Ar/jYxzGz1lLcROAnVi8IFGB2VJlynqKBhjaVvgb|1799999;</span><br><span style="color: hsl(120, 100%, 40%);">+1 AES_CM_128_HMAC_SHA1_80 inline:Ar/jYxzGz1lLcROAnVi8IFGB2VJlynqKBhjaVvgb|2^19</span><br><span style="color: hsl(120, 100%, 40%);">+1 AES_CM_128_HMAC_SHA1_80 inline:Ar/jYxzGz1lLcROAnVi8IFGB2VJlynqKBhjaVvgb|1048575</span><br><span> 1 AES_CM_128_HMAC_SHA1_80 inline:Ar/jYxzGz1lLcROAnVi8IFGB2VJlynqKBhjaVvgb|monkeys!;</span><br><span> 1 AES_CM_128_HMAC_SHA1_80 inline:Ar/jYxzGz1lLcROAnVi8IFGB2VJlynqKBhjaVvgb|2^32|2:4;</span><br><span> 1 AES_CM_128_HMAC_SHA1_80 inline:Ar/jYxzGz1lLcROAnVi8IFGB2VJlynqKBhjaVvgb||1:4;</span><br><span>diff --git a/tests/channels/pjsip/secure_calling/srtp_negotiation/sipp/decline.csv b/tests/channels/pjsip/secure_calling/srtp_negotiation/sipp/decline.csv</span><br><span>index 2d1d523..24caaeb 100644</span><br><span>--- a/tests/channels/pjsip/secure_calling/srtp_negotiation/sipp/decline.csv</span><br><span>+++ b/tests/channels/pjsip/secure_calling/srtp_negotiation/sipp/decline.csv</span><br><span>@@ -11,8 +11,8 @@</span><br><span> 1 AES_CM_128_HMAC_SHA1_80 inline:Ar/jYxzGz1lLcR;</span><br><span> 1 AES_CM_128_HMAC_SHA1_80 Ar/jYxzGz1lLcROAnVi8IFGB2VJlynqKBhjaVvgb</span><br><span> 1 AES_CM_128_HMAC_SHA1_80 inlineAr/jYxzGz1lLcROAnVi8IFGB2VJlynqKBhjaVvgb</span><br><span style="color: hsl(0, 100%, 40%);">-1 AES_CM_128_HMAC_SHA1_80 inline:Ar/jYxzGz1lLcROAnVi8IFGB2VJlynqKBhjaVvgb|2^20;</span><br><span style="color: hsl(0, 100%, 40%);">-1 AES_CM_128_HMAC_SHA1_80 inline:Ar/jYxzGz1lLcROAnVi8IFGB2VJlynqKBhjaVvgb|1799999;</span><br><span style="color: hsl(120, 100%, 40%);">+1 AES_CM_128_HMAC_SHA1_80 inline:Ar/jYxzGz1lLcROAnVi8IFGB2VJlynqKBhjaVvgb|2^19</span><br><span style="color: hsl(120, 100%, 40%);">+1 AES_CM_128_HMAC_SHA1_80 inline:Ar/jYxzGz1lLcROAnVi8IFGB2VJlynqKBhjaVvgb|1048575</span><br><span> 1 AES_CM_128_HMAC_SHA1_80 inline:Ar/jYxzGz1lLcROAnVi8IFGB2VJlynqKBhjaVvgb|monkeys!;</span><br><span> 1 AES_CM_128_HMAC_SHA1_80 inline:Ar/jYxzGz1lLcROAnVi8IFGB2VJlynqKBhjaVvgb|2^32|2:4;</span><br><span> 1 AES_CM_128_HMAC_SHA1_80 inline:Ar/jYxzGz1lLcROAnVi8IFGB2VJlynqKBhjaVvgb||1:4;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/9637">change 9637</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/9637"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: testsuite </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I4e957ce1f27bc682fe3d7e90c1a2c9490d8ee912 </div>
<div style="display:none"> Gerrit-Change-Number: 9637 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>