diff --git a/wolfssl/wolfcrypt/asn.h b/wolfssl/wolfcrypt/asn.h index 75d10cd0cb..ce65340ddb 100644 --- a/wolfssl/wolfcrypt/asn.h +++ b/wolfssl/wolfcrypt/asn.h @@ -83,6 +83,9 @@ that can be serialized and deserialized in a cross-platform way. #include #endif #include +#if defined(WOLFSSL_SHA384) || defined(WOLFSSL_SHA512) + #include +#endif #ifdef WOLFSSL_SM3 #include #endif