Make the driver context union a defined type

Signed-off-by: Steven Cooreman <steven.cooreman@silabs.com>
This commit is contained in:
Steven Cooreman 2021-03-04 15:22:38 +01:00
parent f763810e58
commit b1777312da
2 changed files with 3 additions and 3 deletions

View file

@ -91,7 +91,7 @@ struct psa_hash_operation_s
* ID value zero means the context is not valid or not assigned to
* any driver (i.e. none of the driver contexts are active). */
unsigned int id;
union psa_driver_hash_context_u ctx;
psa_driver_hash_context_t ctx;
};
#define PSA_HASH_OPERATION_INIT {0, {0}}