Commit 6e2444f0 authored by berge's avatar berge
Browse files

Bug fix

parent f9e72a66
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -690,8 +690,9 @@
            
            // a) The shared secret K = KA(SKPICC;^PKPCD;DPICC) = KA(^SKPCD;PKPICC;DPICC)
            // select private key based on key ref
            v_dg14PrFile := c_filePrCA;
            if(p_keyReference != ''O) {
                v_dg14PrFile := c_filePrCA & "." & oct2str(p_keyReference);
                v_dg14PrFile := v_dg14PrFile & "." & oct2str(p_keyReference);
            }
            if(f_readFileData(v_dg14PrFile, 0, -1, v_dg14PrivateKey) == c_w1w2FileOrApplicationNotFound) {
                log("**** f_chipAuthentication: ERROR: Private key not found ****");