forked from wolfSSL/wolfssl
Fix example server to support option 7 (which exists). Fix static mem size required with session cert (matches client now).
This commit is contained in:
@ -1414,7 +1414,7 @@ THREAD_RETURN WOLFSSL_THREAD server_test(void* args)
|
|||||||
#if (defined(HAVE_ECC) && !defined(ALT_ECC_SIZE)) \
|
#if (defined(HAVE_ECC) && !defined(ALT_ECC_SIZE)) \
|
||||||
|| defined(SESSION_CERTS)
|
|| defined(SESSION_CERTS)
|
||||||
/* big enough to handle most cases including session certs */
|
/* big enough to handle most cases including session certs */
|
||||||
byte memory[239936];
|
byte memory[320000];
|
||||||
#else
|
#else
|
||||||
byte memory[80000];
|
byte memory[80000];
|
||||||
#endif
|
#endif
|
||||||
@ -1512,11 +1512,11 @@ THREAD_RETURN WOLFSSL_THREAD server_test(void* args)
|
|||||||
/* Reinitialize the global myVerifyAction. */
|
/* Reinitialize the global myVerifyAction. */
|
||||||
myVerifyAction = VERIFY_OVERRIDE_ERROR;
|
myVerifyAction = VERIFY_OVERRIDE_ERROR;
|
||||||
|
|
||||||
/* Not Used: h, z, W, X, 7 */
|
/* Not Used: h, z, W, X */
|
||||||
while ((ch = mygetopt_long(argc, argv, "?:"
|
while ((ch = mygetopt_long(argc, argv, "?:"
|
||||||
"abc:defgijk:l:mop:q:rstu;v:wxy"
|
"abc:defgijk:l:mop:q:rstu;v:wxy"
|
||||||
"A:B:C:D:E:FGH:IJKL:MNO:PQR:S:T;UVYZ:"
|
"A:B:C:D:E:FGH:IJKL:MNO:PQR:S:T;UVYZ:"
|
||||||
"01:23:4:5689"
|
"01:23:4:567:89"
|
||||||
"@#", long_options, 0)) != -1) {
|
"@#", long_options, 0)) != -1) {
|
||||||
switch (ch) {
|
switch (ch) {
|
||||||
case '?' :
|
case '?' :
|
||||||
|
Reference in New Issue
Block a user