Commit 1a32836c authored by berge's avatar berge
Browse files

Fixed issues related to mngtPort

parent 93e95036
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -70,6 +70,7 @@
        	}
        	[] any port.receive {
        		log("**** a_default: Error: Unexpected message received. ****");
        		mrtdport.send(m_responseNOK(c_w1w2InstructionCodeNotSupportedOrInvalid));
        		setverdict(inconc);
        		stop;	
        	}        	
@@ -85,9 +86,11 @@
	        
	        [] mgmtport.receive(mw_report(int2oct(enum2int(e_aisNoFailure), 2))) {
				f_pushPassResult(enum2int(e_aisNoFailure));   
				mrtdport.send(m_responseOK);    	    
	        }    
	        [] mgmtport.receive(mw_report(?)) -> value v_report {
	            f_pushFailResult(oct2int(v_report.payload.genericData.data[0]));
	            mrtdport.send(m_responseOK);	            
	        	repeat;    
	        }	        	
			       		
+1 −1
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ module ePassport_Templates {
  					data := v_failCode
  				}	
  			},
  			lengthE := 0	
  			lengthE := omit	
    	}
    	    	    	
	} // end managementTemplates
+2 −1
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ module ePassport_Values {
		const W1W2Status c_w1w2ConditionsOfUseNotSatisfied := '6985'O;
		const W1W2Status c_w1w2NoCurrentEF := '6986'O;
		const W1W2Status c_w1w2ReferencedDataOrReferenceDataNotFound := '6A88'O;
		const W1W2Status c_w1w2InstructionCodeNotSupportedOrInvalid := '6D00'O;
			
	} // end w1w2Constants