Merge pull request #5207 from anhu/longer_sigalg_list

For inter-op with OQS's OpenSSL fork, support longer sigalg list.
This commit is contained in:
David Garske
2022-06-03 09:24:38 -07:00
committed by GitHub

View File

@@ -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 */