Commit be64c198 authored by berge's avatar berge
Browse files

Modified Terminal Authentication stuff

parent 4b7e3894
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -180,10 +180,10 @@
				// the correct Certificate must be passed as parameter in the external function
				// in order to verify IS and DV and link CAVA certificates.
				// FIXME : ifpresent, ifchosen
				//v_certificate := v_psoCommand.payload.performSecurityOperationData.psoVerifyCertificate
				//					.psoVerifyCertificateOverFullTemplate.cvCertificateBody.tlvValue;  
				//v_signature := v_psoCommand.payload.performSecurityOperationData.psoVerifyCertificate
				//					.psoVerifyCertificateOverFullTemplate.cvDigitalSignature.tlvValue;
				v_certificate := bit2oct(encvalue(v_psoCommand.payload.performSecurityOperationData.psoVerifyCertificate
									.psoVerifyCertificateOverFullTemplate.cvCertificateBody.tlvValue));  
				v_signature := v_psoCommand.payload.performSecurityOperationData.psoVerifyCertificate
									.psoVerifyCertificateOverFullTemplate.cvDigitalSignature.tlvValue;
				if (f_verifyCertificate(v_signature, f_getDstCertificate())) {
					// store certificate 
					v_chr := ""; //FIXME