diff options
author | Fredrik Thulin <fredrik@thulin.net> | 2016-06-16 16:31:50 +0200 |
---|---|---|
committer | Fredrik Thulin <fredrik@thulin.net> | 2016-06-16 16:31:50 +0200 |
commit | 52f1eb5c3dccd47d2434e0c7a302c23363790e1d (patch) | |
tree | 788cccf19c5dec657e633c1f26020f144def9603 /tests/test-rsa.c | |
parent | 58c3a85cbe684632e9c51d82c037708adfc6dee1 (diff) | |
parent | 1c3e4894ea9f1a6f9bc6602e6454a6efd9562efa (diff) |
Merge branch 'master' into ft-ks_flash
Diffstat (limited to 'tests/test-rsa.c')
-rw-r--r-- | tests/test-rsa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-rsa.c b/tests/test-rsa.c index 1fc516b..60fe2a5 100644 --- a/tests/test-rsa.c +++ b/tests/test-rsa.c @@ -299,6 +299,8 @@ static int test_rsa(const hal_core_t *core, const rsa_tc_t * const tc) int main(int argc, char *argv[]) { const hal_core_t *core = hal_core_find(MODEXPS6_NAME, NULL); + if (core == NULL) + core = hal_core_find(MODEXPA7_NAME, NULL); const hal_core_info_t *core_info = hal_core_info(core); if (core_info != NULL) |