Skip to content

Commit d67c034

Browse files
committed
asn: add HAVE_OCSP_RESPONDER guard, to fix wolfboot build.
1 parent 0de6e8f commit d67c034

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
@@ -46194,6 +46194,7 @@ int wc_VerifyX509Acert(const byte* acert, word32 acertSz,
4619446194

4619546195
#endif /* WOLFSSL_ACERT && WOLFSSL_ASN_TEMPLATE */
4619646196

46197+
#ifdef HAVE_OCSP_RESPONDER
4619746198
int AsnHashesHash(AsnHashes* hashes, const byte* data, word32 dataSz)
4619846199
{
4619946200
int ret = 0;
@@ -46264,6 +46265,7 @@ const byte* AsnHashesGetHash(const AsnHashes* hashes, int hashAlg, int* size)
4626446265
return NULL;
4626546266
}
4626646267
}
46268+
#endif /* HAVE_OCSP_RESPONDER */
4626746269

4626846270
#ifdef WOLFSSL_SEP
4626946271

0 commit comments

Comments
 (0)