<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/23439">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">utils/osmo-aka-verify: fix swapped CK/IK arguments<br><br>The positions of arguments in the call to "milenage_check" do not<br>match the ordering of the parameters:<br><br>  * "ck" is passed to "ik"<br>  * "ik" is passed to "ck"<br><br>Let's simply reorder the arguments of milenage_check()<br>to match the ordering in milenage_f2345().<br><br>Change-Id: Ia003d3c9d88fb8f6740791583855a709b8639160<br>Fixes: CID#220324<br>---<br>M utils/osmo-aka-verify.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/39/23439/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/utils/osmo-aka-verify.c b/utils/osmo-aka-verify.c</span><br><span>index 5134d79..0caeab3 100644</span><br><span>--- a/utils/osmo-aka-verify.c</span><br><span>+++ b/utils/osmo-aka-verify.c</span><br><span>@@ -21,7 +21,7 @@</span><br><span>                    uint8_t *res, uint8_t *ck, uint8_t *ik, uint8_t *ak, uint8_t *akstar);</span><br><span> </span><br><span> static int milenage_check(const uint8_t *opc, const uint8_t *k, const uint8_t *sqn, const uint8_t *_rand,</span><br><span style="color: hsl(0, 100%, 40%);">-                        const uint8_t *autn, uint8_t *ik, uint8_t *ck, uint8_t *res, size_t *res_len,</span><br><span style="color: hsl(120, 100%, 40%);">+                         const uint8_t *autn, uint8_t *ck, uint8_t *ik, uint8_t *res, size_t *res_len,</span><br><span>                        uint8_t *auts)</span><br><span> {</span><br><span>        int i;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/23439">change 23439</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.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.osmocom.org/c/libosmocore/+/23439"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ia003d3c9d88fb8f6740791583855a709b8639160 </div>
<div style="display:none"> Gerrit-Change-Number: 23439 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>