Skip to content

Commit

Permalink
Merge pull request #9270 from sezrab/silence-2.28
Browse files Browse the repository at this point in the history
[Backport 2.28] Silence gcc 12.2.0 warning
  • Loading branch information
gilles-peskine-arm authored Jul 4, 2024
2 parents 3218ccf + ed9a494 commit ff2c049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/psa_crypto_cipher.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const mbedtls_cipher_info_t *mbedtls_cipher_info_from_psa(
mbedtls_cipher_id_t *cipher_id)
{
mbedtls_cipher_mode_t mode;
mbedtls_cipher_id_t cipher_id_tmp;
mbedtls_cipher_id_t cipher_id_tmp = MBEDTLS_CIPHER_ID_NONE;

if (PSA_ALG_IS_AEAD(alg)) {
alg = PSA_ALG_AEAD_WITH_SHORTENED_TAG(alg, 0);
Expand Down

0 comments on commit ff2c049

Please sign in to comment.