Commit 64925c67 authored by garciay's avatar garciay
Browse files

Remove useless code

parent c7da91e1
Loading
Loading
Loading
Loading
+1 −12
Original line number Original line Diff line number Diff line
@@ -567,22 +567,11 @@ module LibItsSecurity_Functions {
                var octetstring v_signature;
                var octetstring v_signature;
                var boolean v_result := false;
                var boolean v_result := false;
                var template (value) ToBeSignedCertificate v_toBeSignedCertificate;
                var template (value) ToBeSignedCertificate v_toBeSignedCertificate;
//                
//                var ToBeSignedCertificate v_at;
//                var integer v_res;
//                var boolean v_match;
                
                
                // Create Certificate payload to be verified
                // Create Certificate payload to be verified
                v_toBeSignedCertificate := m_toBeSignedCertificate(p_certificateToBeVerified);
                v_toBeSignedCertificate := m_toBeSignedCertificate(p_certificateToBeVerified);
                toBeVerifiedData := bit2oct(encvalue(v_toBeSignedCertificate));
                toBeVerifiedData := bit2oct(encvalue(v_toBeSignedCertificate));
                               
                               
//                v_res := decvalue(oct2bit(toBeVerifiedData), v_at);
//                if (v_res != 0) {
//                    setverdict(fail, "Decoding failed.");
//                    stop;
//                }
//                v_match := match(v_toBeSignedCertificate, v_at);
                
                // Build the signature
                // Build the signature
                v_signature :=
                v_signature :=
                    '0000'O &
                    '0000'O &