<div dir="ltr">Hey<div><br></div><div>I am implementing a custom EAP method. I am wondering how can a register a function on the peer/supplicant side that gets called when there is EAP Failure received from the Radius server. This is necessary to allow the user to take necessary actions. </div>
<div><br></div><div>I didn&#39;t find any other EAP methods that seem to do this. </div><div>for example:</div><div><div>eap-&gt;init = eap_sake_init;</div><div><span class="" style="white-space:pre">        </span>eap-&gt;deinit = eap_sake_deinit;</div>
<div><span class="" style="white-space:pre">        </span>eap-&gt;process = eap_sake_process;</div><div><span class="" style="white-space:pre">        </span>eap-&gt;isKeyAvailable = eap_sake_isKeyAvailable;</div><div><span class="" style="white-space:pre">        </span>eap-&gt;getKey = eap_sake_getKey;</div>
<div><span class="" style="white-space:pre">        </span>eap-&gt;get_emsk = eap_sake_get_emsk;</div></div><div><br></div><div><br></div><div>Can there be a function eap-&gt;failure=eap_sake_failure. </div><div><br></div><div>If not, where I can add code to do some necessary stuff to handle EAP failure on the supplicant side. </div>
<div><br></div><div>Thanks</div><div>Khali Singh</div></div>