If NB_SSL_SUPPORTED is defined and NB_SSH_SUPPORTED is left undefined, all the stack sizes are left set to 2048, causing SSL_connect to overflow the stack if it is called from the main stack or any other stack for which the size is < ~4096
Thx!
SSL_connect overflows stack
Re: SSL_connect overflows stack
You are correct sir. The new check is
Also, in predefs.h the define for TLS is moved to be automatically set when SSL is enabled, and (if for some reason you didn't want it (?)) can be disabled.
-Dan
Code: Select all
#if defined NB_SSH_SUPPORTED || defined NB_SSL_SUPPORTED
-Dan
Dan Ciliske
Project Engineer
Netburner, Inc
Project Engineer
Netburner, Inc
Re: SSL_connect overflows stack
Sounds good thx!