-
Notifications
You must be signed in to change notification settings - Fork 549
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[open62541] Add OpenSSL encryption, update Julia compat and increase …
…version number (1.4.0) (#7889) * [open62541] Add TLS encryption to v1.3.9 build * add MbedTLS_jll dependency * Add compat for MbedTLS Co-authored-by: Mosè Giordano <giordano@users.noreply.github.com> * Update build_tarballs.jl * Use OpenSSL instead of MbedTLS; update to open62541 v1.4.0 * adjust version requirement for OpenSSL_jll * correct typo * check 1.4 independently of openssl * try without amalgamation * try * revert * try another OpenSSL version * Set OPENSSL_ROOT_DIR to fix build on x86 Windows * hotfix attempt * revert * patch attempt * patch attempt 2 * actually applying the patch would be good. * fix directory mistake * typo * Update O/open62541/build_tarballs.jl --------- Co-authored-by: Mosè Giordano <giordano@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
diff --git a/arch/posix/ua_architecture.h b/arch/posix/ua_architecture.h | ||
index c42768548..8e6159818 100644 | ||
--- a/arch/posix/ua_architecture.h | ||
+++ b/arch/posix/ua_architecture.h | ||
@@ -14,6 +14,7 @@ | ||
|
||
#include <errno.h> | ||
#include <arpa/inet.h> | ||
+#include <netinet/in.h> | ||
#include <netinet/tcp.h> | ||
#include <netdb.h> | ||
#include <sys/ioctl.h> | ||
diff --git a/include/open62541/config.h.in b/include/open62541/config.h.in | ||
index 5b20497ed..7758f2ab3 100644 | ||
--- a/include/open62541/config.h.in | ||
+++ b/include/open62541/config.h.in | ||
@@ -127,7 +127,7 @@ | ||
* header. */ | ||
#ifdef UA_ARCHITECTURE_POSIX | ||
# if !defined(_XOPEN_SOURCE) | ||
-# define _XOPEN_SOURCE 600 | ||
+// # define _XOPEN_SOURCE 600 | ||
# endif | ||
# ifndef _DEFAULT_SOURCE | ||
# define _DEFAULT_SOURCE |