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
|
@ -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 New Issue