Topic: [SOLVED] Build error with SNI TLS extension and NO_FILESYSTEM
I encountered a build error when using TLS extensions and especially the SNI extension with NO_FILESYSTEM defined at the same time.
The error is
undefined reference to `test_CyaSSL_client_server'
while linking and occurs a couple of times with /tests/api.c.
The source of the problem seems to be that the function
void test_CyaSSL_client_server(callback_functions* client_callbacks,
callback_functions* server_callbacks);
is within the following define:
#if !defined(NO_FILESYSTEM) && !defined(NO_CERTS)
whereas the function
void test_CyaSSL_UseSNI(void)
which calls test_CyaSSL_client_server multiple times is only within the following defines:
#ifdef HAVE_TLS_EXTENSIONS
#ifdef HAVE_SNI
Regards,
Daniel