Validation of Pinblock

Jul 24, 2013 at 6:27 PM
I use the command BE to validate a pinblock, i see the events of the simulator and all thats ok when calculate the pin and the keys, but the response is 0000BF01 why ?
Jul 24, 2013 at 8:20 PM
I see a possible error:
        __Dim clearDBPIN As String = "0" + DecryptPINUnderHostStorage(_pinDatabase)__

        If clearDBPIN = clearPIN Then
            mr.AddElement(ErrorCodes.ER_00_NO_ERROR)
        Else
            mr.AddElement(ErrorCodes.ER_01_VERIFICATION_FAILURE)
        End If

        Return mr
I have a pin for example: 1234, the pin encrypted under LMK is 01234 (this is _pinDatabase).
then, you add a "0" for comparison with the clear pin, then: 1234 = 01234 the result "verification failure".

Can you fix this ? and recompile please ?