[Cryptech-Commits] [sw/libhal] branch pymux updated: Track change to stm32 keystore API.

git at cryptech.is git at cryptech.is
Mon Feb 27 21:07:46 UTC 2017


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

sra at hactrn.net pushed a commit to branch pymux
in repository sw/libhal.

The following commit(s) were added to refs/heads/pymux by this push:
     new 8dd40de  Track change to stm32 keystore API.
8dd40de is described below

commit 8dd40de9dc481277d15cf4f1ff707ad620ada7ed
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Mon Feb 27 16:07:19 2017 -0500

    Track change to stm32 keystore API.
---
 ks_flash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ks_flash.c b/ks_flash.c
index c0179ca..7a87d5c 100644
--- a/ks_flash.c
+++ b/ks_flash.c
@@ -455,7 +455,7 @@ static hal_error_t block_erase(const unsigned blockno)
     return HAL_ERROR_IMPOSSIBLE;
 
   /* Sigh, magic numeric return codes */
-  if (keystore_erase_subsectors(blockno, blockno) != 1)
+  if (keystore_erase_subsector(blockno) != 1)
     return HAL_ERROR_KEYSTORE_ACCESS;
 
   return HAL_OK;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Commits mailing list