forked from wolfSSL/wolfssl
For inter-op with OQS's OpenSSL fork, support longer sigalg list.
This commit is contained in:
@ -1510,8 +1510,15 @@ enum Misc {
|
|||||||
|
|
||||||
/* number of items in the signature algo list */
|
/* number of items in the signature algo list */
|
||||||
#ifndef WOLFSSL_MAX_SIGALGO
|
#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
|
#define WOLFSSL_MAX_SIGALGO 38
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* set minimum ECC key size allowed */
|
/* set minimum ECC key size allowed */
|
||||||
|
Reference in New Issue
Block a user