[Cryptech-Commits] [sw/stm32] 02/03: keystore_erase_sectors takes start and stop arguments now

git at cryptech.is git at cryptech.is
Thu Jun 16 14:42:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

fredrik at thulin.net pushed a commit to branch ft-ks_flash
in repository sw/stm32.

commit 67f5b9ad8f38fd3a047b584cb55c0b9a6edacf5a
Author: Fredrik Thulin <fredrik at thulin.net>
AuthorDate: Thu Jun 16 16:27:22 2016 +0200

    keystore_erase_sectors takes start and stop arguments now
---
 projects/hsm/mgmt-show.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/projects/hsm/mgmt-show.c b/projects/hsm/mgmt-show.c
index c9eb22c..2019efb 100644
--- a/projects/hsm/mgmt-show.c
+++ b/projects/hsm/mgmt-show.c
@@ -104,7 +104,7 @@ static int cmd_show_keystore_data(struct cli_def *cli, const char *command, char
 	}
     } else {
 	cli_print(cli, "Erasing first sector since all the first 8 bytes are tombstones");
-	if ((i = keystore_erase_sectors(1)) != 1) {
+	if ((i = keystore_erase_sectors(1, 1)) != 1) {
 	    cli_print(cli, "Failed erasing the first sector: %li", i);
 	    return CLI_ERROR;
 	}



More information about the Commits mailing list