Change mbedtls initializers to be compatible with older versions of gcc (#732)

* fix issue #731
This commit is contained in:
pwpiwi 2018-12-06 07:53:25 +01:00 committed by GitHub
commit aa0b1c431f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 9 deletions

View file

@ -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