From 02e656c5ad3a75f6bb9ae450fe23888e32985910 Mon Sep 17 00:00:00 2001 From: merlokk <807634+merlokk@users.noreply.github.com> Date: Wed, 7 Nov 2018 16:56:51 +0200 Subject: [PATCH] test functionality restored. can be merged --- client/emv/test/cryptotest.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/client/emv/test/cryptotest.c b/client/emv/test/cryptotest.c index 84ed4f2b..8f6bcfe6 100644 --- a/client/emv/test/cryptotest.c +++ b/client/emv/test/cryptotest.c @@ -36,10 +36,6 @@ int ExecuteCryptoTests(bool verbose) { int res; bool TestFail = false; - res = ecdsa_nist_test(verbose); - if (res) TestFail = true; -return 0; - res = mbedtls_mpi_self_test(verbose); if (res) TestFail = true; @@ -73,6 +69,9 @@ return 0; res = mbedtls_cmac_self_test(verbose); if (res) TestFail = true; + res = ecdsa_nist_test(verbose); + if (res) TestFail = true; + res = mbedtls_ecp_self_test(verbose); if (res) TestFail = true;