Skip to content

Commit

Permalink
Merge pull request Mbed-TLS#514 from nils-ohlmeier/firefox_gcc11_warning
Browse files Browse the repository at this point in the history
Fix gcc11 warning by defining output length
  • Loading branch information
pabuhler authored Dec 30, 2020
2 parents f379f48 + e473778 commit 04e0f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/hash/sha1.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ void srtp_sha1_update(srtp_sha1_ctx_t *ctx,
* into the twenty octets located at *output
*/

void srtp_sha1_final(srtp_sha1_ctx_t *ctx, uint32_t *output)
void srtp_sha1_final(srtp_sha1_ctx_t *ctx, uint32_t output[5])
{
uint32_t A, B, C, D, E, TEMP;
uint32_t W[80];
Expand Down

0 comments on commit 04e0f00

Please sign in to comment.