From d67c034b143bc26355ae96f0b697c6af8bdacae2 Mon Sep 17 00:00:00 2001 From: jordan Date: Thu, 12 Mar 2026 10:50:18 -0500 Subject: [PATCH] asn: add HAVE_OCSP_RESPONDER guard, to fix wolfboot build. --- wolfcrypt/src/asn.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index 927a382671a..bd15173adc8 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -46194,6 +46194,7 @@ int wc_VerifyX509Acert(const byte* acert, word32 acertSz, #endif /* WOLFSSL_ACERT && WOLFSSL_ASN_TEMPLATE */ +#ifdef HAVE_OCSP_RESPONDER int AsnHashesHash(AsnHashes* hashes, const byte* data, word32 dataSz) { int ret = 0; @@ -46264,6 +46265,7 @@ const byte* AsnHashesGetHash(const AsnHashes* hashes, int hashAlg, int* size) return NULL; } } +#endif /* HAVE_OCSP_RESPONDER */ #ifdef WOLFSSL_SEP