mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 21:33:19 -07:00
Change mbedtls initializers to be compatible with older versions of gcc (#732)
* fix issue #731
This commit is contained in:
parent
a015ef3733
commit
aa0b1c431f
5 changed files with 9 additions and 9 deletions
|
@ -1742,7 +1742,7 @@ int CmdHF14AMfuGenDiverseKeys(const char *Cmd){
|
|||
mix[6] = block ^ uid[2];
|
||||
mix[7] = uid[3];
|
||||
|
||||
mbedtls_des3_context ctx = { 0x00 };
|
||||
mbedtls_des3_context ctx = { {0} };
|
||||
mbedtls_des3_set2key_enc(&ctx, masterkey);
|
||||
|
||||
mbedtls_des3_crypt_cbc(&ctx // des3_context
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue