mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Increase MAX_ECC_STRING to include the trailing \0 for longer order strings (in eg. SECP160R1). Note that this now matches the check in wc_EccPublicKeyDecode.
This commit is contained in:
@ -293,7 +293,7 @@ typedef struct ecc_set_type {
|
||||
} ecc_set_type;
|
||||
#else
|
||||
#define MAX_ECC_NAME 16
|
||||
#define MAX_ECC_STRING ((MAX_ECC_BYTES * 2) + 1)
|
||||
#define MAX_ECC_STRING ((MAX_ECC_BYTES * 2) + 2)
|
||||
/* The values are stored as text strings. */
|
||||
|
||||
typedef struct ecc_set_type {
|
||||
|
Reference in New Issue
Block a user