Skip to content

Commit ae14079

Browse files
committed
add hash todo
1 parent bbde032 commit ae14079

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
@@ -41387,7 +41387,7 @@ int DecodeOcspRequest(OcspRequest* req, const byte* input, word32 size)
4138741387
ret = ASN_PARSE_E;
4138841388
}
4138941389
if (ret == 0) {
41390-
/* For now support only SHA-1 */
41390+
/* TODO support other HashAlgorithm than SHA-1 */
4139141391
if (dataASN[OCSPREQUESTASN_IDX_TBS_REQ_HASH_OID].data.oid.sum != SHAh)
4139241392
ret = ASN_SIG_HASH_E;
4139341393
}

0 commit comments

Comments
 (0)