diff --git a/wolfssl/internal.h b/wolfssl/internal.h index ffd99d49e..a2a45b2e8 100644 --- a/wolfssl/internal.h +++ b/wolfssl/internal.h @@ -1510,8 +1510,15 @@ enum Misc { /* number of items in the signature algo list */ #ifndef WOLFSSL_MAX_SIGALGO +#ifdef HAVE_PQC + /* If we are building with post-quantum algorithms, we likely want to + * inter-op with OQS's OpenSSL and they send a lot more sigalgs. + */ + #define WOLFSSL_MAX_SIGALGO 128 +#else #define WOLFSSL_MAX_SIGALGO 38 #endif +#endif /* set minimum ECC key size allowed */