Fixes build error with NO_FILESYSTEM and !NO_CERTS where the wolfssl/test.h load_buffer() function is passing non-existent enum value. Was renamed from CYASSL_ to WOLFSSL_.

This commit is contained in:
David Garske 2016-02-19 13:52:06 -08:00
parent b72c83e191
commit 953a3bd01d
2 changed files with 3 additions and 3 deletions

View File

@ -132,7 +132,7 @@ void echoclient_test(void* args)
#endif
#elif !defined(NO_CERTS)
if (!doPSK)
load_buffer(ctx, caCert, CYASSL_CA);
load_buffer(ctx, caCert, WOLFSSL_CA);
#endif
#if defined(CYASSL_SNIFFER)

View File

@ -191,8 +191,8 @@ THREAD_RETURN CYASSL_THREAD echoserver_test(void* args)
} /* doPSK */
#elif !defined(NO_CERTS)
if (!doPSK) {
load_buffer(ctx, svrCert, CYASSL_CERT);
load_buffer(ctx, svrKey, CYASSL_KEY);
load_buffer(ctx, svrCert, WOLFSSL_CERT);
load_buffer(ctx, svrKey, WOLFSSL_KEY);
}
#endif