mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
fix runtime with wolfSSL and fastmath (#1950)
wolfSSL's fastmath support requires options.h to be included before anything else. Otherwise bad codepaths get taken and a crash occurs during DH initialization. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
af2af2a57e
commit
1f48884726
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
#define API_VERSION_HEX LIBCYASSL_VERSION_HEX
|
||||
#endif
|
||||
|
||||
#include API_HEADER(options.h)
|
||||
#include API_HEADER_CRYPT(dh.h)
|
||||
#include API_HEADER_CRYPT(error-crypt.h)
|
||||
#include API_HEADER_CRYPT(random.h)
|
||||
|
|
Loading…
Reference in a new issue