mirror of
https://github.com/transmission/transmission.git
synced 2026-02-15 07:26:49 +00:00
fix: include wolfssl library configurations header (#7632)
The MOST common issue we see is a mis-configuration between APP and Library. If you compile the wolfSSL library independant of your application you MUST include the same configure options in the application as were used in the library. If building with “./configure” the build system will generate the file <wolf-root>/wolfssl/options.h with all the settings needed for your application. Source: https://www.wolfssl.com/docs/frequently-asked-questions-faq/#How_do_I_manage_the_build_configuration_for_wolfSSL
This commit is contained in:
@@ -32,6 +32,7 @@ using tr_sha256_context_t = mbedtls_sha256_context;
|
||||
using tr_sha1_context_t = EVP_MD_CTX*;
|
||||
using tr_sha256_context_t = EVP_MD_CTX*;
|
||||
#elif defined(WITH_WOLFSSL)
|
||||
#include <wolfssl/options.h>
|
||||
#include <wolfssl/wolfcrypt/sha.h>
|
||||
#include <wolfssl/wolfcrypt/sha256.h>
|
||||
using tr_sha1_context_t = wc_Sha;
|
||||
|
||||
Reference in New Issue
Block a user