Skip to content

Commit a177232

Browse files
committed
add hash todo
1 parent fbd8b35 commit a177232

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/asn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41391,7 +41391,7 @@ int DecodeOcspRequest(OcspRequest* req, const byte* input, word32 size)
4139141391
ret = ASN_PARSE_E;
4139241392
}
4139341393
if (ret == 0) {
41394-
/* For now support only SHA-1 */
41394+
/* TODO support other HashAlgorithm than SHA-1 */
4139541395
if (dataASN[OCSPREQUESTASN_IDX_TBS_REQ_HASH_OID].data.oid.sum != SHAh)
4139641396
ret = ASN_SIG_HASH_E;
4139741397
}

0 commit comments

Comments
 (0)