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

@ -296,7 +296,7 @@ int mifare_ultra_auth(uint8_t *keybytes){
/// 3des2k
mbedtls_des3_context ctx = { 0x00 };
mbedtls_des3_context ctx = { {0} };
uint8_t random_a[8] = {1,1,1,1,1,1,1,1};
uint8_t random_b[8] = {0x00};
uint8_t enc_random_b[8] = {0x00};