Commit 1544da22 authored by garciay's avatar garciay
Browse files

Add missing timer stop in f_askAndWaitForCertificateChain()

parent 438f9495
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -2516,20 +2516,20 @@ module LibItsGeoNetworking_Functions {
            
            alt {
                [] a_securedMessageWithCertificate(v_recv) {
                    tc_ac.stop;
                    if(f_getMsgSignerInfo(v_recv, v_si)) {
                        if(f_getCertificateSignerInfo(v_si.signerInfo.certificate, v_si)) {
                            if(match (v_si.type_, e_certificate_digest_with_sha256)) {
                                f_sendCertificateRequest(v_si.signerInfo.digest, p_CamPayload);
                                if(tc_ac.running) {
                                    tc_ac.stop;tc_ac.start;
                                }
                                tc_ac.start;
                                repeat;
                            }
                        }
                    }
                }
                [] a_securedMessageWithCertificateChain(v_recv) {
                    if(f_getMsgSignerInfo(v_recv, v_si)){
                    tc_ac.stop;
                    if(f_getMsgSignerInfo(v_recv, v_si) == true) {
                        p_chain := v_si.signerInfo.certificates;
                        v_ret := true;
                    }