Skip to content

Commit c1f71fc

Browse files
Merge pull request #9959 from philljj/fix_wolfboot_build
asn: add HAVE_OCSP_RESPONDER guard, to fix wolfboot build.
2 parents 351d259 + d67c034 commit c1f71fc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

wolfcrypt/src/asn.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46198,6 +46198,7 @@ int wc_VerifyX509Acert(const byte* acert, word32 acertSz,
4619846198

4619946199
#endif /* WOLFSSL_ACERT && WOLFSSL_ASN_TEMPLATE */
4620046200

46201+
#ifdef HAVE_OCSP_RESPONDER
4620146202
int AsnHashesHash(AsnHashes* hashes, const byte* data, word32 dataSz)
4620246203
{
4620346204
int ret = 0;
@@ -46268,6 +46269,7 @@ const byte* AsnHashesGetHash(const AsnHashes* hashes, int hashAlg, int* size)
4626846269
return NULL;
4626946270
}
4627046271
}
46272+
#endif /* HAVE_OCSP_RESPONDER */
4627146273

4627246274
#ifdef WOLFSSL_SEP
4627346275

0 commit comments

Comments
 (0)