Commit d7331032 authored by velez's avatar velez
Browse files

Fixed 1 compilation issue with OpenTTCN

parent 4b94044d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -895,6 +895,7 @@
            var integer v_decodeResult;
            var octetstring v_dg1 := ''O;
            var integer i;
            var bitstring v_trustPointRawBits:= ''B;
            
            // Load profile
            f_loadPassportConfiguration(p_configurationId);
@@ -927,7 +928,8 @@
            for(i:=0; i < sizeof(v_trustPoints); i:=i+1) {
                f_readFileData(v_trustPoints[i], 0, -1, v_trustPointRaw);
                if(v_trustPointRaw != ''O) {
                    v_decodeResult := decvalue(oct2bit(v_trustPointRaw), v_trustPointCertificate);
                	v_trustPointRawBits := oct2bit(v_trustPointRaw);
                    v_decodeResult := decvalue(v_trustPointRawBits, v_trustPointCertificate);
                    v_trustPointChr := oct2char(v_trustPointCertificate.tlvValue.cvCertificateBody.tlvValue.cvCertificateHolderReference.tlvValue);
                    if(v_trustPointChr != v_trustPoints[i]) {
                        log("**** f_initializeMRTD: WARNING: " & v_trustPoints[i] & " filename does not match CHR (" & v_trustPointChr & ") ****");
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ module ePassport_Pixits {
        /**
         * @desc    Root directory containing ePassport profiles (EF.*, MRZ, ...)
         */
        modulepar charstring PXT_EPASSPORT_DATA_ROOT := "G:/FSCOM/STF400/trunk/Helpers/ElementFilesImpl/ePassportData/";
        modulepar charstring PXT_EPASSPORT_DATA_ROOT := "./STF400/trunk/Helpers/ElementFilesImpl/ePassportData/";
                
    } // end ePassportPixits