Skip to content

Commit

Permalink
Merge pull request #6619 from douzzer/20230714-asn-DecodeAuthKeyId-Wc…
Browse files Browse the repository at this point in the history
…onversion-fix

20230714-asn-DecodeAuthKeyId-Wconversion-fix
  • Loading branch information
JacobBarthelmeh authored Jul 14, 2023
2 parents 7361332 + e2833f9 commit 20115f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wolfcrypt/src/asn.c
Original file line number Diff line number Diff line change
Expand Up @@ -18873,7 +18873,7 @@ static int DecodeAuthKeyId(const byte* input, word32 sz, DecodedCert* cert)
/* Get the hash or hash of the hash if wrong size. */
ret = GetHashId(dataASN[AUTHKEYIDASN_IDX_KEYID].data.ref.data,
(int)dataASN[AUTHKEYIDASN_IDX_KEYID].data.ref.length,
cert->extAuthKeyId, HashIdAlg((int)cert->signatureOID));
cert->extAuthKeyId, HashIdAlg(cert->signatureOID));
}
#ifdef WOLFSSL_AKID_NAME
if (ret == 0 && dataASN[AUTHKEYIDASN_IDX_ISSUER].data.ref.data != NULL) {
Expand Down

0 comments on commit 20115f0

Please sign in to comment.